diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-05-08 22:33:16 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-05-08 22:33:16 -0700 |
commit | f350e1faaa7070030a5c40acdaec650b47dfdc12 (patch) | |
tree | 2c2c5f86caec5cc5642544891ffce9e271eeb1b1 /remote-curl.c | |
parent | dd75d07899653258587b854ce0e3f7f1b90610cf (diff) | |
parent | 42653c09c85015addc6fa8dd4d49cb250253412e (diff) | |
download | git-f350e1faaa7070030a5c40acdaec650b47dfdc12.tar.gz |
Merge branch 'sc/http-late-auth'
* 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 b76bfcb3d3..07827562b5 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"); |