remote-curl: die directly with http error messages
[gitweb.git] / http-push.c
index bd66f6ab6edd24946d2bc84e117a2b97417b1503..439a555a72e81d54e2cd453eae07e24e5ab61e66 100644 (file)
@@ -1551,7 +1551,7 @@ static int remote_exists(const char *path)
                ret = 0;
                break;
        case HTTP_ERROR:
-               http_error(url, HTTP_ERROR);
+               http_error(url);
        default:
                ret = -1;
        }