diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-10-26 23:09:48 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-10-28 14:06:39 -0700 |
commit | 9ad7c5ae8ae4625bfe32d910b0b480cfea9819e0 (patch) | |
tree | 8a838ed84b2cac5f66e0adc5d084d233f90c1ca9 /test-match-trees.c | |
parent | 071a8877662974f588dfc0b1ac7df2764b7e0337 (diff) | |
download | git-9ad7c5ae8ae4625bfe32d910b0b480cfea9819e0.tar.gz |
git-fetch: do not fail when remote branch disappears
When the branch named with branch.$name.merge is not covered by
the fetch configuration for the remote repository named with
branch.$name.remote, we automatically add that branch to the set
of branches to be fetched. However, if the remote repository
does not have that branch (e.g. it used to exist, but got
removed), this is not a reason to fail the git-fetch itself.
The situation however will be noticed if git-fetch was called by
git-pull, as the resulting FETCH_HEAD would not have any entry
that is marked for merging.
Acked-By: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-match-trees.c')
0 files changed, 0 insertions, 0 deletions