#define USE_THE_REPOSITORY_VARIABLE #include "builtin.h" #include "config.h" #include "gettext.h" #include "hook.h" #include "parse-options.h" #include "strvec.h" #define BUILTIN_HOOK_RUN_USAGE … static const char * const builtin_hook_usage[] = …; static const char * const builtin_hook_run_usage[] = …; static int run(int argc, const char **argv, const char *prefix) { … } int cmd_hook(int argc, const char **argv, const char *prefix, struct repository *repo UNUSED) { … }