summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 178cb24)
raw | patch | inline | side by side (parent: 178cb24)
author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Mon, 13 Jun 2005 17:07:25 +0000 (10:07 -0700) | ||
committer | Linus 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 | patch | blob | history |
diff --git a/git-log-script b/git-log-script
index 317aa9b0d61a29fd3ac4713079233304c1da4c29..feca5e9b7c86b1aaa5903f1c2ca3afde09531c7b 100755 (executable)
--- a/git-log-script
+++ b/git-log-script
#!/bin/sh
-git-rev-list --pretty HEAD | LESS=-S ${PAGER:-less}
+git-rev-list --pretty $(git-rev-parse --default HEAD "$@") | LESS=-S ${PAGER:-less}