Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-convert-cache: fix up file modes in trees too
[gitweb.git]
/
git-log-script
diff --git
a/git-log-script
b/git-log-script
index 317aa9b0d61a29fd3ac4713079233304c1da4c29..049d02ea1452bca07188cacecb991a56cd97a5f1 100755
(executable)
--- a/
git-log-script
+++ b/
git-log-script
@@
-1,2
+1,3
@@
#!/bin/sh
-git-rev-list --pretty HEAD | LESS=-S ${PAGER:-less}
+. git-sh-setup-script || die "Not a git archive"
+git-rev-list --pretty $(git-rev-parse --default HEAD "$@") | LESS=-S ${PAGER:-less}