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 317aa9b..feca5e9 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}