Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] remove "-r" option to xargs
[gitweb.git]
/
git-log-script
diff --git
a/git-log-script
b/git-log-script
index feca5e9b7c86b1aaa5903f1c2ca3afde09531c7b..24d1e83949a8eebb3cf6f8785f681c14ecd1115e 100755
(executable)
--- a/
git-log-script
+++ b/
git-log-script
@@
-1,2
+1,5
@@
#!/bin/sh
+. git-sh-setup-script || die "Not a git archive"
+revs=$(git-rev-parse --revs-only --default HEAD "$@")
+[ "$revs" ] || die "No HEAD ref"
git-rev-list --pretty $(git-rev-parse --default HEAD "$@") | LESS=-S ${PAGER:-less}