remote: make match_refs() not short-circuit
commit5f48cb95aa0d7311623df76249a1c8a1962550f5
authorJay Soffian <jaysoffian@gmail.com>
Wed, 25 Feb 2009 08:32:17 +0000 (25 03:32 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Feb 2009 23:19:08 +0000 (27 15:19 -0800)
tree6ae850ef62c422692d5a0d3e67b02026bfb654c2
parentcdf690e53b5f5af1ca8679b3f3e47ea198692c18
remote: make match_refs() not short-circuit

match_refs() returns non-zero if there is an error in
match_explicit_refs(), without handling any remaining pattern ref specs.

Its existing callers exit upon receiving non-zero, so a partial result
is of no consequence to them; however a new caller, builtin-remote, is
interested in the complete result even if there are errors in
match_explicit_refs().

Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
remote.c