Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] Prevent t6000 series from dropping useless sed.script in t/
[gitweb.git]
/
git-whatchanged
diff --git
a/git-whatchanged
b/git-whatchanged
index d80abcc98a1e5e688b166307900f754fff8f22c2..6fbd115601ed7c95c66111954ffe3b6246702106 100755
(executable)
--- a/
git-whatchanged
+++ b/
git-whatchanged
@@
-1,2
+1,4
@@
#!/bin/sh
-git-rev-list HEAD | git-diff-tree --stdin -v -r "$@" | less -S
+git-rev-list $(git-rev-parse --default HEAD --revs-only "$@") |
+ git-diff-tree --stdin --pretty -r $(git-rev-parse --no-revs "$@") |
+ LESS="$LESS -S" ${PAGER:-less}