summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2016-02-28 11:54:37 +0000
committerJunio C Hamano <gitster@pobox.com>2016-02-28 12:01:45 -0800
commit24990b2febec5e00ecc8c7c57614b7431b86f7a5 (patch)
tree3b990c6c7bc136feb47c10cc6578d2a1c2ac51b8 /Documentation
parent94c5b0e8b9276416a01646d1e4fdb73561323558 (diff)
downloadgit-24990b2febec5e00ecc8c7c57614b7431b86f7a5.tar.gz
Documentation/git-config: fix --get-all descriptionjk/config-get-urlmatch
--get does not fail if a key is multi-valued, it returns the last value as described in its documentation. Clarify the description of --get-all to avoid implying that --get does fail in this case. Signed-off-by: John Keeping <john@keeping.me.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-config.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt
index 6a7250785e..409df406fa 100644
--- a/Documentation/git-config.txt
+++ b/Documentation/git-config.txt
@@ -86,8 +86,7 @@ OPTIONS
found and the last value if multiple key values were found.
--get-all::
- Like get, but does not fail if the number of values for the key
- is not exactly one.
+ Like get, but returns all values for a multi-valued key.
--get-regexp::
Like --get-all, but interprets the name as a regular expression and