X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=remote-curl.c;h=24fbb9a9b972c1078b3688b2d0683c9704e09ee6;hb=452c6d506b1a6dcf24d4ceaa592afc39c1c1a60e;hp=9c7fcf29566caa3813bd91a22fc78a00cec05335;hpb=318d4013461dbd6fc6bbd05983fc4a9fd5465769;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");