Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-21 20:44:16 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-21 20:44:16 +0400
commitc8265ac096afe8a0eb460a41c0620f6ae13394fe (patch)
tree97cc85de100de4be55e4b4022433dd96db6c9b74 /git-whatchanged
parentca3ebdf5b2579d45b478909435b57420a0d2a103 (diff)
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 d80abcc98a..4a348ed263 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}