summaryrefslogtreecommitdiff
path: root/http-fetch.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-10-17 21:37:15 -0700
committerJunio C Hamano <gitster@pobox.com>2011-10-17 21:37:15 -0700
commit963838402a94e7fcbd1a73019f80aff708972af8 (patch)
treedfc5a1a62cfd83d5e199974ace5725d5a7fe6946 /http-fetch.c
parent7f8a9387fd28b1cc4029bb8a8d66cd577d8dd1e3 (diff)
parentdeba49377b717d1e26c342f65c7f5e75a2db8641 (diff)
downloadgit-963838402a94e7fcbd1a73019f80aff708972af8.tar.gz
Merge branch 'jk/http-auth'
* jk/http-auth: http_init: accept separate URL parameter http: use hostname in credential description http: retry authentication failures for all http requests remote-curl: don't retry auth failures with dumb protocol improve httpd auth tests url: decode buffers that are not NUL-terminated
Diffstat (limited to 'http-fetch.c')
-rw-r--r--http-fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/http-fetch.c b/http-fetch.c
index 8c4c5d2224..69299b7bd2 100644
--- a/http-fetch.c
+++ b/http-fetch.c
@@ -67,7 +67,7 @@ int main(int argc, const char **argv)
git_config(git_default_config, NULL);
- http_init(NULL);
+ http_init(NULL, url);
walker = get_http_walker(url);
walker->get_tree = get_tree;
walker->get_history = get_history;