repo.or.cz
/
git
/
gitweb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add how-to on using update-hook.
[git/gitweb.git]
/
git-log-script
blob
5716b29941bb5c005d0de63f916708a3fc774e01
1
#!/bin/sh
2
revs
=
$
(
git-rev-parse
--revs-only --no-flags --default
HEAD
"$@"
)
||
exit
3
[
"
$revs
"
]
|| die
"No HEAD ref"
4
git-rev-list
--pretty
$
(
git-rev-parse
--default
HEAD
"$@"
)
| LESS
=
-S
${PAGER:-less}