]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin-http-fetch.c
git-submodule: replace duplicated code with a module_list function
[thirdparty/git.git] / builtin-http-fetch.c
index 299093ff9134f517e53b5105ec356e6575df6214..3a062487a7eacd01ed824b46a9124dd343cd2e60 100644 (file)
@@ -18,7 +18,7 @@ int cmd_http_fetch(int argc, const char **argv, const char *prefix)
        int get_verbosely = 0;
        int get_recover = 0;
 
-       git_config(git_default_config);
+       git_config(git_default_config, NULL);
 
        while (arg < argc && argv[arg][0] == '-') {
                if (argv[arg][1] == 't') {
@@ -59,7 +59,7 @@ int cmd_http_fetch(int argc, const char **argv, const char *prefix)
                url = rewritten_url;
        }
 
-       walker = get_http_walker(url);
+       walker = get_http_walker(url, NULL);
        walker->get_tree = get_tree;
        walker->get_history = get_history;
        walker->get_all = get_all;