Merge branch 'fixes'
[gitweb.git] / http-fetch.c
index e8ac9959ff712f3d482789ac00e6181fd8461931..71a8c60b56914ca579db3da1d2bef6795acc7bf9 100644 (file)
@@ -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);
        }