diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-06-16 16:32:15 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-06-16 16:32:15 -0700 |
commit | 356169c1f66287629ea08e8c9c6e27b00ff8707a (patch) | |
tree | dbcaccfc020329501fb6eaa9c84c06e5d4ab7bf6 /remote-curl.c | |
parent | 3b3b9a6152a9458718119aa27db52248bf8df911 (diff) | |
parent | 42653c09c85015addc6fa8dd4d49cb250253412e (diff) | |
download | git-356169c1f66287629ea08e8c9c6e27b00ff8707a.tar.gz git-356169c1f66287629ea08e8c9c6e27b00ff8707a.tar.xz |
Merge branch 'sc/http-late-auth' into maint
* sc/http-late-auth:
Prompt for a username when an HTTP request 401s
Diffstat (limited to 'remote-curl.c')
-rw-r--r-- | remote-curl.c | 2 |
1 files changed, 2 insertions, 0 deletions
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"); |