projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
178cb24
)
Make "git log" use the new git-rev-parse helper
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
317aa9b
..
feca5e9
100755
(executable)
--- 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}