summaryrefslogtreecommitdiff
path: root/Documentation/config.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-01-13 19:33:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-01-13 19:33:35 (GMT)
commit9fac0777e16b6e342f7c84fb7059d6fca52505d2 (patch)
treee1a588d94b3f9727ef0586946d241798a6263551 /Documentation/config.txt
parent0a8cb0355589cd4058be8b810a9fc608ef9b9a6c (diff)
parente54c1f2d2533c5406abeb8e3e0cf78c68ca9c21e (diff)
downloadgit-9fac0777e16b6e342f7c84fb7059d6fca52505d2.zip
git-9fac0777e16b6e342f7c84fb7059d6fca52505d2.tar.gz
git-9fac0777e16b6e342f7c84fb7059d6fca52505d2.tar.bz2
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 'Documentation/config.txt')
-rw-r--r--Documentation/config.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index a405806..ed59853 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -567,6 +567,10 @@ be passed to the shell by Git, which will translate the final
command to `LESS=FRSX less -+S`. The environment tells the command
to set the `S` option to chop long lines but the command line
resets it to the default to fold long lines.
++
+Likewise, when the `LV` environment variable is unset, Git sets it
+to `-c`. You can override this setting by exporting `LV` with
+another value or setting `core.pager` to `lv +c`.
core.whitespace::
A comma separated list of common whitespace problems to