projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Doc: update git-send-email-script documentation.
[git.git]
/
git-log-script
diff --git
a/git-log-script
b/git-log-script
index
feca5e9
..
24d1e83
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}