]> asedeno.scripts.mit.edu Git - git.git/commitdiff
git-whatchanged: allow other pagers
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 21 May 2005 16:44:16 +0000 (09:44 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 21 May 2005 16:44:16 +0000 (09:44 -0700)
(but still try to use '-S' if using less)

git-whatchanged

index d80abcc98a1e5e688b166307900f754fff8f22c2..4a348ed263ea654792f7d4aaf851be84766a9609 100755 (executable)
@@ -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}