summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-03-21 19:30:09 +0100
committerJunio C Hamano <gitster@pobox.com>2018-03-21 19:30:09 +0100
commit75901dfd52ef97df51621a23156db96c9cd4a90b (patch)
tree4c7631526ba4c2cecd0dbd53fe5dcf14c24b5e0a /Documentation
parentGit 2.17-rc0 (diff)
parentconfig: change default of `pager.config` to "on" (diff)
downloadgit-75901dfd52ef97df51621a23156db96c9cd4a90b.tar.xz
git-75901dfd52ef97df51621a23156db96c9cd4a90b.zip
Merge branch 'ma/config-page-only-in-list-mode'
In a way similar to how "git tag" learned to honor the pager setting only in the list mode, "git config" learned to ignore the pager setting when it is used for setting values (i.e. when the purpose of the operation is not to "show"). * ma/config-page-only-in-list-mode: config: change default of `pager.config` to "on" config: respect `pager.config` in list/get-mode only t7006: add tests for how git config paginates
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-config.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt
index 14da5fc157..e09ed5d7d5 100644
--- a/Documentation/git-config.txt
+++ b/Documentation/git-config.txt
@@ -233,6 +233,12 @@ See also <<FILES>>.
using `--file`, `--global`, etc) and `on` when searching all
config files.
+CONFIGURATION
+-------------
+`pager.config` is only respected when listing configuration, i.e., when
+using `--list` or any of the `--get-*` which may return multiple results.
+The default is to use a pager.
+
[[FILES]]
FILES
-----