From: Linus Torvalds Date: Sat, 21 May 2005 16:44:16 +0000 (-0700) Subject: git-whatchanged: allow other pagers X-Git-Tag: v0.99~518 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=c8265ac096afe8a0eb460a41c0620f6ae13394fe;p=git.git git-whatchanged: allow other pagers (but still try to use '-S' if using less) --- 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}