MCPcopy Create free account
hub / github.com/git/git / cmd__submodule_config_list

Function cmd__submodule_config_list

t/helper/test-submodule.c:133–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133static int cmd__submodule_config_list(int argc, const char **argv)
134{
135 struct option options[] = {
136 OPT_END()
137 };
138 const char *const usage[] = {
139 "test-tool submodule config-list <key>",
140 NULL
141 };
142 argc = parse_options(argc, argv, "test-tools", options, usage,
143 PARSE_OPT_KEEP_ARGV0);
144
145 setup_git_directory(the_repository);
146
147 if (argc == 2)
148 return print_config_from_gitmodules(the_repository, argv[1]);
149 usage_with_options(usage, options);
150}
151
152static int cmd__submodule_config_set(int argc, const char **argv)
153{

Callers

nothing calls this directly

Calls 4

parse_optionsFunction · 0.85
setup_git_directoryFunction · 0.85
usage_with_optionsFunction · 0.85

Tested by

no test coverage detected