#define USE_THE_REPOSITORY_VARIABLE #include "git-compat-util.h" #include "alias.h" #include "config.h" #include "gettext.h" #include "strbuf.h" #include "string-list.h" struct config_alias_data { … }; static int config_alias_cb(const char *key, const char *value, const struct config_context *ctx UNUSED, void *d) { … } char *alias_lookup(const char *alias) { … } void list_aliases(struct string_list *list) { … } void quote_cmdline(struct strbuf *buf, const char **argv) { … } #define SPLIT_CMDLINE_BAD_ENDING … #define SPLIT_CMDLINE_UNCLOSED_QUOTE … #define SPLIT_CMDLINE_ARGC_OVERFLOW … static const char *split_cmdline_errors[] = …; int split_cmdline(char *cmdline, const char ***argv) { … } const char *split_cmdline_strerror(int split_cmdline_errno) { … }