#define USE_THE_REPOSITORY_VARIABLE
#include "test-tool.h"
#include "test-tool-utils.h"
#include "parse-options.h"
#include "remote.h"
#include "repository.h"
#include "setup.h"
#include "strbuf.h"
#include "submodule-config.h"
#include "submodule.h"
#define TEST_TOOL_CHECK_NAME_USAGE …
static const char *submodule_check_name_usage[] = …;
#define TEST_TOOL_CHECK_URL_USAGE …
static const char *submodule_check_url_usage[] = …;
#define TEST_TOOL_IS_ACTIVE_USAGE …
static const char *submodule_is_active_usage[] = …;
#define TEST_TOOL_RESOLVE_RELATIVE_URL_USAGE …
static const char *submodule_resolve_relative_url_usage[] = …;
static const char *submodule_usage[] = …;
check_fn_t;
static int check_submodule(check_fn_t check_fn)
{ … }
static int cmd__submodule_check_name(int argc, const char **argv)
{ … }
static int cmd__submodule_check_url(int argc, const char **argv)
{ … }
static int cmd__submodule_is_active(int argc, const char **argv)
{ … }
static int cmd__submodule_resolve_relative_url(int argc, const char **argv)
{ … }
static int cmd__submodule_config_list(int argc, const char **argv)
{ … }
static int cmd__submodule_config_set(int argc, const char **argv)
{ … }
static int cmd__submodule_config_unset(int argc, const char **argv)
{ … }
static int cmd__submodule_config_writeable(int argc, const char **argv UNUSED)
{ … }
static struct test_cmd cmds[] = …;
int cmd__submodule(int argc, const char **argv)
{ … }