checkout, commit: remove confusing assignments to rev.abbrev
[gitweb.git] / remote-curl.c
index 9c7fcf29566caa3813bd91a22fc78a00cec05335..24fbb9a9b972c1078b3688b2d0683c9704e09ee6 100644 (file)
@@ -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");