aboutsummaryrefslogtreecommitdiffstats
path: root/git-log-script
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-13 10:07:25 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-13 10:07:25 -0700
commitf04b05697c140953c1c50bb2794c41f26ba689b9 (patch)
treedf2b4d577bc5e277a46146440ccedee62956cf36 /git-log-script
parent178cb243387a24b1dec7613c4c5e97158163ac60 (diff)
downloadgit-f04b05697c140953c1c50bb2794c41f26ba689b9.tar.gz
Make "git log" use the new git-rev-parse helper
See the previous commit for explanations.
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 317aa9b0d6..feca5e9b7c 100755
--- a/git-log-script
+++ b/git-log-script
@@ -1,2 +1,2 @@
#!/bin/sh
-git-rev-list --pretty HEAD | LESS=-S ${PAGER:-less}
+git-rev-list --pretty $(git-rev-parse --default HEAD "$@") | LESS=-S ${PAGER:-less}