| 194 | } |
| 195 | |
| 196 | static int cmd__submodule_config_writeable(int argc, const char **argv UNUSED) |
| 197 | { |
| 198 | struct option options[] = { |
| 199 | OPT_END() |
| 200 | }; |
| 201 | const char *const usage[] = { |
| 202 | "test-tool submodule config-writeable", |
| 203 | NULL |
| 204 | }; |
| 205 | setup_git_directory(the_repository); |
| 206 | |
| 207 | if (argc == 1) |
| 208 | return is_writing_gitmodules_ok() ? 0 : -1; |
| 209 | |
| 210 | usage_with_options(usage, options); |
| 211 | } |
| 212 | |
| 213 | static struct test_cmd cmds[] = { |
| 214 | { "check-name", cmd__submodule_check_name }, |
nothing calls this directly
no test coverage detected