| 90 | } |
| 91 | |
| 92 | static int cmd__submodule_is_active(int argc, const char **argv) |
| 93 | { |
| 94 | struct option options[] = { |
| 95 | OPT_END() |
| 96 | }; |
| 97 | argc = parse_options(argc, argv, "test-tools", options, |
| 98 | submodule_is_active_usage, 0); |
| 99 | if (argc != 1) |
| 100 | usage_with_options(submodule_is_active_usage, options); |
| 101 | |
| 102 | setup_git_directory(the_repository); |
| 103 | |
| 104 | return !is_submodule_active(the_repository, argv[0]); |
| 105 | } |
| 106 | |
| 107 | static int cmd__submodule_resolve_relative_url(int argc, const char **argv) |
| 108 | { |
nothing calls this directly
no test coverage detected