#define USE_THE_REPOSITORY_VARIABLE #include "builtin.h" #include "gettext.h" #include "hex.h" #include "transport.h" #include "pkt-line.h" #include "ref-filter.h" #include "remote.h" #include "parse-options.h" #include "wildmatch.h" static const char * const ls_remote_usage[] = …; /* * Is there one among the list of patterns that match the tail part * of the path? */ static int tail_match(const struct strvec *pattern, const char *path) { … } int cmd_ls_remote(int argc, const char **argv, const char *prefix, struct repository *repo UNUSED) { … }