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

@ -1,4 +1,4 @@
#!/bin/sh
revs=$(git-rev-parse --revs-only --default HEAD "$@") || exit
revs=$(git-rev-parse --revs-only --no-flags --default HEAD "$@") || exit
[ "$revs" ] || die "No HEAD ref"
git-rev-list --pretty $(git-rev-parse --default HEAD "$@") | LESS=-S ${PAGER:-less}