diff options
author | Jeff King <peff@peff.net> | 2011-07-18 03:50:14 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-07-20 11:38:35 -0700 |
commit | 8d677edc4fa3fd1fe12b49bf279aaad5be89b81c (patch) | |
tree | 5e0352c5f0333e1240ea0759a48fe3e4573f858b /block-sha1 | |
parent | remote-curl: don't retry auth failures with dumb protocol (diff) | |
download | tgif-8d677edc4fa3fd1fe12b49bf279aaad5be89b81c.tar.xz |
http: retry authentication failures for all http requests
Commit 42653c0 (Prompt for a username when an HTTP request
401s, 2010-04-01) changed http_get_strbuf to prompt for
credentials when we receive a 401, but didn't touch
http_get_file. The latter is called only for dumb http;
while it's usually the case that people don't use
authentication on top of dumb http, there is no reason not
to allow both types of requests to use this feature.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'block-sha1')
0 files changed, 0 insertions, 0 deletions