From: Brian Harring Date: Tue, 3 Jan 2012 13:46:03 +0000 (-0800) Subject: fix hang in git fetch if pointed at a 0 length bundle X-Git-Tag: v1.7.8.3~6 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/54440e154f33678a80ea9f77085730b81a5e9446?ds=sidebyside;hp=54440e154f33678a80ea9f77085730b81a5e9446 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 Helped-by: Johannes Sixt Helped-by: Nguyen Thai Ngoc Duy Signed-off-by: Junio C Hamano ---