author | Junio C Hamano <gitster@pobox.com> | |
Tue, 30 Oct 2007 18:30:43 +0000 (11:30 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 30 Oct 2007 23:21:56 +0000 (16:21 -0700) | ||
commit | b6c9fb5100f8cd4081f1c6df5aea7335a11e9659 | |
tree | a797f4298a3b70d5ca787bdb42fa077959ecea0e | tree | snapshot |
parent | 562e35c34ced4ca7af024d213737411238dbe0f5 | commit | diff |
Prevent send-pack from segfaulting (backport from 'master')
4491e62ae932d5774f628d1bd3be663c11058a73 (Prevent send-pack from
segfaulting when a branch doesn't match) is hereby cherry-picked
back to 'maint'.
If we can't find a source match, and we have no destination, we
need to abort the match function early before we try to match
the destination against the remote.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
4491e62ae932d5774f628d1bd3be663c11058a73 (Prevent send-pack from
segfaulting when a branch doesn't match) is hereby cherry-picked
back to 'maint'.
If we can't find a source match, and we have no destination, we
need to abort the match function early before we try to match
the destination against the remote.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
remote.c | diff | blob | history |