projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7baa3e8
)
Show curl error a bit better.
author
Junio C Hamano
<junkio@cox.net>
Sat, 15 Oct 2005 18:13:55 +0000
(11:13 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Sat, 15 Oct 2005 18:13:55 +0000
(11:13 -0700)
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
40bd0b4
..
da4d2f2
100644
(file)
--- a/
http-fetch.c
+++ b/
http-fetch.c
@@
-1049,7
+1049,9
@@
static int fetch_object(struct alt_base *repo, unsigned char *sha1)
}
if (request->curl_result != CURLE_OK && request->http_code != 416) {
- ret = error("%s", request->errorstr);
+ ret = error("%s (curl_result = %d, http_code = %ld, sha1 = %s)",
+ request->errorstr, request->curl_result,
+ request->http_code, hex);
release_request(request);
return ret;
}