git-config: update doc for --get with multiple values
Since commit 00b347d (git-config: do not complain about duplicate entries, 2012-10-23), "git config --get" does not exit with an error if there are multiple values for the specified key but instead returns the last value. Update the documentation to reflect this. Signed-off-by: John Keeping <john@keeping.me.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
John Keeping committed
Jul 3, 2013 at 19:27 UTC
62e91efafd2030b7dc33ac6450b4e9a316e6ecc6
1 file changed
+1
-1
Documentation/git-config.txt
+1
-1
@@ -82,7 +82,7 @@ OPTIONS
82
--get::
83
Get the value for a given key (optionally filtered by a regex
84
matching the value). Returns error code 1 if the key was not
85
- found and error code 2 if multiple key values were found.
85
+ found and the last value if multiple key values were found.
86
87
--get-all::
88
Like get, but does not fail if the number of values for the key