diff options
author | Daniel Barkalow <barkalow@iabervon.org> | 2007-09-29 01:34:17 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-09-30 07:11:52 +0200 |
commit | cfb8f898a883e2fb2fd5ecec0fe83662b64f1373 (patch) | |
tree | 69ec849b65636b663d71b25e8688ae6c0ad261fc /transport.c | |
parent | Prevent send-pack from segfaulting when a branch doesn't match (diff) | |
download | git-cfb8f898a883e2fb2fd5ecec0fe83662b64f1373.tar.xz git-cfb8f898a883e2fb2fd5ecec0fe83662b64f1373.zip |
Allow abbreviations in the first refspec to be merged
The config item for a refspec side and the ref name that it matches
aren't necessarily character-for-character identical. We actually want
to merge a ref by default if: there is no per-branch config, it is the
found result of looking for the match for the first refspec, and the
first refspec is not a pattern. Beyond that, anything that
get_fetch_map() thinks matches is fine.
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport.c')
0 files changed, 0 insertions, 0 deletions