From ff84d327dfb8a9aa0634b0aaaca1c018cdc5117a Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Wed, 24 Aug 2005 14:31:36 -0700 Subject: Audit rev-parse users again. Some callers to rev-parse were using the output selection flags inconsistently. Signed-off-by: Junio C Hamano --- git-log-script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git-log-script') diff --git a/git-log-script b/git-log-script index 9260f9205..5716b2994 100755 --- a/git-log-script +++ b/git-log-script @@ -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} -- cgit v1.2.1