Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-03-21 21:30:09 +0300
committerJunio C Hamano <gitster@pobox.com>2018-03-21 21:30:09 +0300
commit75901dfd52ef97df51621a23156db96c9cd4a90b (patch)
tree4c7631526ba4c2cecd0dbd53fe5dcf14c24b5e0a /Documentation
parent0afbf6caa5b16dcfa3074982e5b48e27d452dbbb (diff)
parentc0e9f5be873d7c6a5df928f167ec1b27027efb45 (diff)
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
-----