summaryrefslogtreecommitdiff
path: root/git-log-script
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-13 17:07:25 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-13 17:07:25 (GMT)
commitf04b05697c140953c1c50bb2794c41f26ba689b9 (patch)
treedf2b4d577bc5e277a46146440ccedee62956cf36 /git-log-script
parent178cb243387a24b1dec7613c4c5e97158163ac60 (diff)
downloadgit-f04b05697c140953c1c50bb2794c41f26ba689b9.zip
git-f04b05697c140953c1c50bb2794c41f26ba689b9.tar.gz
git-f04b05697c140953c1c50bb2794c41f26ba689b9.tar.bz2
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 317aa9b..feca5e9 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}