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