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:
@ -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}
|
||||
|
Reference in New Issue
Block a user