From c8265ac096afe8a0eb460a41c0620f6ae13394fe Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sat, 21 May 2005 09:44:16 -0700 Subject: [PATCH] git-whatchanged: allow other pagers (but still try to use '-S' if using less) --- git-whatchanged | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}