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 d80abcc..4a348ed 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}