diff options
Diffstat (limited to 'http-fetch.c')
-rw-r--r-- | http-fetch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/http-fetch.c b/http-fetch.c index cc7bd1f367..661c909152 100644 --- a/http-fetch.c +++ b/http-fetch.c @@ -1271,10 +1271,10 @@ int main(int argc, char **argv) if (pull(commit_id)) rc = 1; - curl_slist_free_all(no_pragma_header); - http_cleanup(); + curl_slist_free_all(no_pragma_header); + if (corrupt_object_found) { fprintf(stderr, "Some loose object were found to be corrupt, but they might be just\n" |