aboutsummaryrefslogtreecommitdiff
path: root/git-whatchanged
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-21 09:44:16 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-21 09:44:16 -0700
commitc8265ac096afe8a0eb460a41c0620f6ae13394fe (patch)
tree97cc85de100de4be55e4b4022433dd96db6c9b74 /git-whatchanged
parentca3ebdf5b2579d45b478909435b57420a0d2a103 (diff)
downloadgit-c8265ac096afe8a0eb460a41c0620f6ae13394fe.tar.gz
git-c8265ac096afe8a0eb460a41c0620f6ae13394fe.tar.xz
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 d80abcc98..4a348ed26 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}