#define USE_THE_REPOSITORY_VARIABLE #include "builtin.h" #include "config.h" #include "hex.h" #include "pkt-line.h" #include "run-command.h" #include "remote.h" #include "connect.h" #include "send-pack.h" #include "quote.h" #include "transport.h" #include "oid-array.h" #include "gettext.h" #include "protocol.h" #include "parse-options.h" #include "write-or-die.h" static const char * const send_pack_usage[] = …; static struct send_pack_args args; static void print_helper_status(struct ref *ref) { … } static int send_pack_config(const char *k, const char *v, const struct config_context *ctx, void *cb) { … } int cmd_send_pack(int argc, const char **argv, const char *prefix, struct repository *repo UNUSED) { … }