diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-01-13 11:33:34 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-01-13 11:33:35 -0800 |
commit | 9fac0777e16b6e342f7c84fb7059d6fca52505d2 (patch) | |
tree | e1a588d94b3f9727ef0586946d241798a6263551 /perl/Git | |
parent | 0a8cb0355589cd4058be8b810a9fc608ef9b9a6c (diff) | |
parent | e54c1f2d2533c5406abeb8e3e0cf78c68ca9c21e (diff) | |
download | git-9fac0777e16b6e342f7c84fb7059d6fca52505d2.tar.gz git-9fac0777e16b6e342f7c84fb7059d6fca52505d2.tar.xz |
Merge branch 'jn/pager-lv-default-env'
Just like we give a reasonable default for "less" via the LESS
environment variable, specify a reasonable default for "lv" via the
"LV" environment variable when spawning the pager.
* jn/pager-lv-default-env:
pager: set LV=-c alongside LESS=FRSX
Diffstat (limited to 'perl/Git')
-rw-r--r-- | perl/Git/SVN/Log.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl/Git/SVN/Log.pm b/perl/Git/SVN/Log.pm index 3f8350a57..34f2869ab 100644 --- a/perl/Git/SVN/Log.pm +++ b/perl/Git/SVN/Log.pm @@ -117,6 +117,7 @@ sub run_pager { } open STDIN, '<&', $rfd or fatal "Can't redirect stdin: $!"; $ENV{LESS} ||= 'FRSX'; + $ENV{LV} ||= '-c'; exec $pager or fatal "Can't run pager: $! ($pager)"; } |