http_init: accept separate URL parameter
[gitweb.git] / http-fetch.c
index 3af4c71bd0fb8370c6f08b0e3d43adc722cac2f4..e341872a6bcfc5730cbbfd19b97f8cf58865e403 100644 (file)
@@ -63,7 +63,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;