]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/config.txt
Documentation: clarify pager configuration
[thirdparty/git.git] / Documentation / config.txt
index 167958282bff55ca1457a2199d9c660d3585d642..81f981509a2b9c129b31772dee5b859b3f1a2315 100644 (file)
@@ -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