X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=remote-curl.c;h=24fbb9a9b972c1078b3688b2d0683c9704e09ee6;hb=7e7db5e4520388d3a6f1efbe2f7a29d43bd06a2b;hp=9c7fcf29566caa3813bd91a22fc78a00cec05335;hpb=2b7d947b8f57f377b24bc2e802d0af67ff911d6f;p=git.git diff --git a/remote-curl.c b/remote-curl.c index 9c7fcf295..24fbb9a9b 100644 --- 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");