Documentation/git-config: fix --get-all description
--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>
John Keeping committed
Feb 28, 2016 at 11:54 UTC
24990b2febec5e00ecc8c7c57614b7431b86f7a5
1 file changed
+1
-2
Documentation/git-config.txt
+1
-2
@@ -86,8 +86,7 @@ OPTIONS
86
found and the last value if multiple key values were found.
87
88
--get-all::
89
- Like get, but does not fail if the number of values for the key
90
- is not exactly one.
89
+ Like get, but returns all values for a multi-valued key.
90
91
--get-regexp::
92
Like --get-all, but interprets the name as a regular expression and