Files
git/Documentation
John Keeping 27b30be686 config: fail if --get-urlmatch finds no value
The --get, --get-all and --get-regexp options to git-config exit with
status 1 if the key is not found but --get-urlmatch succeeds in this
case.

Change --get-urlmatch to behave in the same way as the other --get*
options so that all four are consistent.  --get-color is a special case
because it accepts a default value to return and so should not return an
error if the key is not found.

Also clarify this behaviour in the documentation.

Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2016-02-28 12:01:45 -08:00
..
2016-02-22 13:12:56 -08:00
2014-11-04 13:14:44 -08:00
2014-11-04 13:14:44 -08:00
2015-07-21 14:08:14 -07:00
2015-10-05 12:30:13 -07:00
2013-10-18 13:50:12 -07:00
2016-02-22 13:12:56 -08:00
2015-01-22 13:44:14 -08:00