Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jn/grep-open'
[gitweb.git]
/
remote-curl.c
diff --git
a/remote-curl.c
b/remote-curl.c
index 9c7fcf29566caa3813bd91a22fc78a00cec05335..24fbb9a9b972c1078b3688b2d0683c9704e09ee6 100644
(file)
--- a/
remote-curl.c
+++ b/
remote-curl.c
@@
-132,6
+132,8
@@
static struct discovery* discover_refs(const char *service)
case HTTP_MISSING_TARGET:
die("%s not found: did you run git update-server-info on the"
" server?", refs_url);
+ case HTTP_NOAUTH:
+ die("Authentication failed");
default:
http_error(refs_url, http_ret);
die("HTTP request failed");