submodule-config: remove support for overlaying repository config
All callers have been migrated to explicitly read any configuration they need. The support for handling it automatically in submodule-config is no longer needed. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
078b75e99b
commit
32bc548329
@ -10,11 +10,6 @@ static void die_usage(int argc, const char **argv, const char *msg)
|
||||
exit(1);
|
||||
}
|
||||
|
||||
static int git_test_config(const char *var, const char *value, void *cb)
|
||||
{
|
||||
return parse_submodule_config_option(var, value);
|
||||
}
|
||||
|
||||
int cmd_main(int argc, const char **argv)
|
||||
{
|
||||
const char **arg = argv;
|
||||
@ -38,7 +33,6 @@ int cmd_main(int argc, const char **argv)
|
||||
|
||||
setup_git_directory();
|
||||
gitmodules_config();
|
||||
git_config(git_test_config, NULL);
|
||||
|
||||
while (*arg) {
|
||||
struct object_id commit_oid;
|
||||
|
||||
Reference in New Issue
Block a user