diff options
author | Martin Mares <mj@ucw.cz> | 2006-02-18 21:44:20 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-02-18 16:19:00 -0800 |
commit | 39ba7d54649b35c943b026b54bff40cfa0153f3e (patch) | |
tree | 20dd2334f20df423ea9ea08c9b106811619e09ef /git.c | |
parent | archimport: remove files from the index before adding/updating (diff) | |
download | tgif-39ba7d54649b35c943b026b54bff40cfa0153f3e.tar.xz |
Fix retries in git-cvsimport
Fixed a couple of bugs in recovering from broken connections:
The _line() method now returns undef correctly when the connection
is broken instead of falling off the function and returning garbage.
Retries are now reported to stderr and the eventual partially
downloaded file is discarded instead of being appended to.
The "Server gone away" test has been removed, because it was
reachable only if the garbage return bug bit.
Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git.c')
0 files changed, 0 insertions, 0 deletions