| 131 | } |
| 132 | |
| 133 | static 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 | |
| 152 | static int cmd__submodule_config_set(int argc, const char **argv) |
| 153 | { |
nothing calls this directly
no test coverage detected