Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t/t2021-checkout-last: "checkout -" should work after a rebase finishes
[gitweb.git]
/
remote-curl.c
diff --git
a/remote-curl.c
b/remote-curl.c
index 9abe4b71162d9b718c9c4af10637836714a14be4..60eda6308197ad3d0b5957b9ae34e2dc15dfe5cc 100644
(file)
--- a/
remote-curl.c
+++ b/
remote-curl.c
@@
-216,8
+216,7
@@
static struct discovery* discover_refs(const char *service, int for_push)
die("Authentication failed for '%s'", url);
default:
show_http_message(&type, &buffer);
- http_error(url);
- die("HTTP request failed");
+ die("unable to access '%s': %s", url, curl_errorstr);
}
last= xcalloc(1, sizeof(*last_discovery));