aboutsummaryrefslogtreecommitdiff
path: root/git-log-script
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-24 14:31:36 -0700
committerJunio C Hamano <junkio@cox.net>2005-08-24 14:31:36 -0700
commitff84d327dfb8a9aa0634b0aaaca1c018cdc5117a (patch)
tree93b27df73edfff4d55a439200a728c26c1976cd2 /git-log-script
parent4866ccf0f434db118c4dcdeeab840eb4844d50a4 (diff)
downloadgit-ff84d327dfb8a9aa0634b0aaaca1c018cdc5117a.tar.gz
git-ff84d327dfb8a9aa0634b0aaaca1c018cdc5117a.tar.xz
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>
Diffstat (limited to 'git-log-script')
-rwxr-xr-xgit-log-script2
1 files changed, 1 insertions, 1 deletions
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}