diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-06-09 00:14:04 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-06-09 11:53:01 -0700 |
commit | 3c8b7df1ba6dd2093672afc460fd5de0e755f162 (patch) | |
tree | 2c45f71784d191eedb366852e1842349a0d45690 /t/t5516-fetch-push.sh | |
parent | 163f0ee5ad0a5cb7d862431479c270ae3fef79cf (diff) | |
download | git-3c8b7df1ba6dd2093672afc460fd5de0e755f162.tar.gz |
remote.c: minor clean-up of match_explicit()
When checking what ref the source refspec matches, we have no
business setting the default for the destination, so move that
code lower. Also simplify the result from the code block that
matches the source side by making it set matched_src only upon
unambiguous match.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5516-fetch-push.sh')
0 files changed, 0 insertions, 0 deletions