Audit rev-parse users again.

Some callers to rev-parse were using the output selection flags
inconsistently.

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Junio C Hamano
2005-08-24 14:31:36 -07:00
parent 4866ccf0f4
commit ff84d327df
5 changed files with 7 additions and 7 deletions

View File

@ -25,7 +25,7 @@ case "$#" in
head="$2^0" ;;
esac
branchname="$1"
rev=$(git-rev-parse --revs-only --verify "$head") || exit
rev=$(git-rev-parse --verify "$head") || exit
[ -e "$GIT_DIR/refs/heads/$branchname" ] && die "$branchname already exists"