author | Dmitry V. Levin <ldv@altlinux.org> | |
Wed, 28 May 2008 15:29:36 +0000 (19:29 +0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 28 May 2008 17:47:12 +0000 (10:47 -0700) | ||
commit | efb98b44536300f5daed25da3650033a1ce7fdef | |
tree | 3eb5955b1dd88addafa444b746fd240bdee4389a | tree | snapshot |
parent | 6eec46bdda7393f1801df70a44d2e0577760a691 | commit | diff |
builtin-fetch.c (store_updated_refs): Honor update_local_ref() return value
Sync with builtin-fetch--tool.c where append_fetch_head()
honors update_local_ref() return value.
This fixes non fast forward fetch exit status,
http://bugzilla.altlinux.org/show_bug.cgi?id=15037
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Sync with builtin-fetch--tool.c where append_fetch_head()
honors update_local_ref() return value.
This fixes non fast forward fetch exit status,
http://bugzilla.altlinux.org/show_bug.cgi?id=15037
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch.c | diff | blob | history | |
t/t5518-fetch-exit-status.sh | [new file with mode: 0755] | blob |