Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-08-03 21:20:00 +0300
committerJunio C Hamano <gitster@pobox.com>2017-08-03 23:11:02 +0300
commit557a5998df19faf8641acfc5b6b1c3c2ba64dca9 (patch)
treebc5a1d5293a02c0d7b2c6bfd45b2525f67f5012a /builtin/mv.c
parent33028713206c3f59709617d8af5ba4212920a5f0 (diff)
submodule: remove gitmodules_config
Now that the submodule-config subsystem can lazily read the gitmodules file we no longer need to explicitly pre-read the gitmodules by calling 'gitmodules_config()' so let's remove it. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/mv.c')
-rw-r--r--builtin/mv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/mv.c b/builtin/mv.c
index 94fbaaa5dac..ffdd5f01a19 100644
--- a/builtin/mv.c
+++ b/builtin/mv.c
@@ -131,7 +131,6 @@ int cmd_mv(int argc, const char **argv, const char *prefix)
struct stat st;
struct string_list src_for_dst = STRING_LIST_INIT_NODUP;
- gitmodules_config();
git_config(git_default_config, NULL);
argc = parse_options(argc, argv, prefix, builtin_mv_options,