Make "git log" use the new git-rev-parse helper
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 13 Jun 2005 17:07:25 +0000 (10:07 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 13 Jun 2005 17:07:25 +0000 (10:07 -0700)
See the previous commit for explanations.

git-log-script

index 317aa9b0d61a29fd3ac4713079233304c1da4c29..feca5e9b7c86b1aaa5903f1c2ca3afde09531c7b 100755 (executable)
@@ -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}