author | Brian Harring <ferringb@gmail.com> | |
Tue, 3 Jan 2012 13:46:03 +0000 (05:46 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 3 Jan 2012 20:13:28 +0000 (12:13 -0800) | ||
commit | 54440e154f33678a80ea9f77085730b81a5e9446 | |
tree | b78597fad5116212617d606beab521ca58ed011b | tree | snapshot |
parent | f3f778df6900881a7bac409c927931c32b82bcb5 | commit | diff |
fix hang in git fetch if pointed at a 0 length bundle
git-repo if interupted at the exact wrong time will generate zero
length bundles- literal empty files. git-repo is wrong here, but
git fetch shouldn't effectively spin loop if pointed at a zero
length bundle.
Signed-off-by: Brian Harring <ferringb@chromium.org>
Helped-by: Johannes Sixt
Helped-by: Nguyen Thai Ngoc Duy
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-repo if interupted at the exact wrong time will generate zero
length bundles- literal empty files. git-repo is wrong here, but
git fetch shouldn't effectively spin loop if pointed at a zero
length bundle.
Signed-off-by: Brian Harring <ferringb@chromium.org>
Helped-by: Johannes Sixt
Helped-by: Nguyen Thai Ngoc Duy
Signed-off-by: Junio C Hamano <gitster@pobox.com>
bundle.c | diff | blob | history | |
t/t5704-bundle.sh | diff | blob | history |