summaryrefslogtreecommitdiff
path: root/git-whatchanged
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-21 16:44:16 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-21 16:44:16 (GMT)
commitc8265ac096afe8a0eb460a41c0620f6ae13394fe (patch)
tree97cc85de100de4be55e4b4022433dd96db6c9b74 /git-whatchanged
parentca3ebdf5b2579d45b478909435b57420a0d2a103 (diff)
downloadgit-c8265ac096afe8a0eb460a41c0620f6ae13394fe.zip
git-c8265ac096afe8a0eb460a41c0620f6ae13394fe.tar.gz
git-c8265ac096afe8a0eb460a41c0620f6ae13394fe.tar.bz2
git-whatchanged: allow other pagers
(but still try to use '-S' if using less)
Diffstat (limited to 'git-whatchanged')
-rwxr-xr-xgit-whatchanged2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-whatchanged b/git-whatchanged
index d80abcc..4a348ed 100755
--- a/git-whatchanged
+++ b/git-whatchanged
@@ -1,2 +1,2 @@
#!/bin/sh
-git-rev-list HEAD | git-diff-tree --stdin -v -r "$@" | less -S
+git-rev-list HEAD | git-diff-tree --stdin -v -r "$@" | LESS="$LESS -S" ${PAGER:-less}