am: release strbuf on error return in hg_patch_to_mail()
[gitweb.git] / builtin / fetch.c
index 08e094bf1237407f3de937970f2b7ea39c359f43..225c734924f14854784cbc1e310f2fb817f1f38b 100644 (file)
@@ -1361,11 +1361,6 @@ int cmd_fetch(int argc, const char **argv, const char *prefix)
        if (depth || deepen_since || deepen_not.nr)
                deepen = 1;
 
-       if (recurse_submodules != RECURSE_SUBMODULES_OFF) {
-               gitmodules_config();
-               git_config(submodule_config, NULL);
-       }
-
        if (all) {
                if (argc == 1)
                        die(_("fetch --all does not take a repository argument"));