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 /Documentation | |
parent | Merge branch 'br/sha1-name-40-hex-no-disambiguation' (diff) | |
parent | pager: set LV=-c alongside LESS=FRSX (diff) | |
download | tgif-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 'Documentation')
-rw-r--r-- | Documentation/config.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index a4058063ce..ed59853190 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 |