diff options
author | Brandon Williams <bmwill@google.com> | 2017-08-03 21:20:00 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-03 23:11:02 +0300 |
commit | 557a5998df19faf8641acfc5b6b1c3c2ba64dca9 (patch) | |
tree | bc5a1d5293a02c0d7b2c6bfd45b2525f67f5012a /builtin/rm.c | |
parent | 33028713206c3f59709617d8af5ba4212920a5f0 (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/rm.c')
-rw-r--r-- | builtin/rm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/rm.c b/builtin/rm.c index 4057e73fa0..d91451fea1 100644 --- a/builtin/rm.c +++ b/builtin/rm.c @@ -255,7 +255,6 @@ int cmd_rm(int argc, const char **argv, const char *prefix) struct pathspec pathspec; char *seen; - gitmodules_config(); git_config(git_default_config, NULL); argc = parse_options(argc, argv, prefix, builtin_rm_options, |