From: John Keeping Date: Sun, 28 Feb 2016 11:54:37 +0000 (+0000) Subject: Documentation/git-config: fix --get-all description X-Git-Tag: v2.8.2~20^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/24990b2febec5e00ecc8c7c57614b7431b86f7a5?ds=inline;hp=--cc 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 Signed-off-by: Junio C Hamano --- 24990b2febec5e00ecc8c7c57614b7431b86f7a5 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