projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
271421c
)
[PATCH] HTTP partial transfer support fix.
author
Nick Hengeveld
<nickh@reactrix.com>
Fri, 30 Sep 2005 23:27:47 +0000
(16:27 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Sun, 2 Oct 2005 06:17:15 +0000
(23:17 -0700)
Don't unlink the temp file when an object transfer fails, so next attempt
will pick up where the failed transfer left off
Signed-off-by: Nick Hengeveld <nickh@reactrix.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
http-fetch.c
patch
|
blob
|
history
diff --git
a/http-fetch.c
b/http-fetch.c
index
e8ac995
..
71a8c60
100644
(file)
--- a/
http-fetch.c
+++ b/
http-fetch.c
@@
-550,7
+550,6
@@
static int fetch_object(struct alt_base *repo, unsigned char *sha1)
curl_result = curl_easy_perform(curl);
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, no_range_header);
if (curl_result != 0) {
- unlink(tmpfile);
return error("%s", curl_errorstr);
}