diff options
author | Jonathan Nieder <jrnieder@uchicago.edu> | 2008-08-24 00:28:32 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-08-24 12:04:14 -0700 |
commit | ab54cd6c4d54b7d9bf6dccfa7ea54f209ea76601 (patch) | |
tree | b99e49eb14b33f732f803b989827d083904a5625 /Documentation | |
parent | 32818085ee88dd98c48a0838fba3c4673d5e819c (diff) | |
download | git-ab54cd6c4d54b7d9bf6dccfa7ea54f209ea76601.tar.gz git-ab54cd6c4d54b7d9bf6dccfa7ea54f209ea76601.tar.xz |
Documentation: clarify pager configuration
The unwary user may not know how to disable the -FRSX options.
Signed-off-by: Jonathan Nieder <jrnieder@uchicago.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/config.txt | 9 | ||||
-rw-r--r-- | Documentation/git.txt | 3 |
2 files changed, 9 insertions, 3 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index 167958282..81f981509 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -358,8 +358,13 @@ core.editor:: `EDITOR` environment variables and then finally `vi`. core.pager:: - The command that git will use to paginate output. Can be overridden - with the `GIT_PAGER` environment variable. + The command that git will use to paginate output. Can + be overridden with the `GIT_PAGER` environment + variable. Note that git sets the `LESS` environment + variable to `FRSX` if it is unset when it runs the + pager. One can change these settings by setting the + `LESS` variable to some other value or by giving the + `core.pager` option a value such as "`less -+FRSX`". core.whitespace:: A comma separated list of common whitespace problems to diff --git a/Documentation/git.txt b/Documentation/git.txt index 1bc295dd5..363a78545 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -497,7 +497,8 @@ other 'GIT_PAGER':: This environment variable overrides `$PAGER`. If it is set to an empty string or to the value "cat", git will not launch - a pager. + a pager. See also the `core.pager` option in + linkgit:git-config[1]. 'GIT_SSH':: If this environment variable is set then 'git-fetch' |