summaryrefslogtreecommitdiff
path: root/builtin/diff-index.c
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-08-03 18:20:00 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-08-03 20:11:02 (GMT)
commit557a5998df19faf8641acfc5b6b1c3c2ba64dca9 (patch)
treebc5a1d5293a02c0d7b2c6bfd45b2525f67f5012a /builtin/diff-index.c
parent33028713206c3f59709617d8af5ba4212920a5f0 (diff)
downloadgit-557a5998df19faf8641acfc5b6b1c3c2ba64dca9.zip
git-557a5998df19faf8641acfc5b6b1c3c2ba64dca9.tar.gz
git-557a5998df19faf8641acfc5b6b1c3c2ba64dca9.tar.bz2
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/diff-index.c')
-rw-r--r--builtin/diff-index.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/diff-index.c b/builtin/diff-index.c
index 185e6f9..9d772f8 100644
--- a/builtin/diff-index.c
+++ b/builtin/diff-index.c
@@ -23,7 +23,6 @@ int cmd_diff_index(int argc, const char **argv, const char *prefix)
git_config(git_diff_basic_config, NULL); /* no "diff" UI options */
init_revisions(&rev, prefix);
- gitmodules_config();
rev.abbrev = 0;
precompose_argv(argc, argv);