#define USE_THE_REPOSITORY_VARIABLE #include "builtin.h" #include "gettext.h" #include "hex.h" #include "parse-options.h" #include "strbuf.h" #include "replace-object.h" #include "object-file.h" #include "object-store-ll.h" #include "fsck.h" #include "config.h" static char const * const builtin_mktag_usage[] = …; static int option_strict = …; static struct fsck_options fsck_options = …; static int mktag_fsck_error_func(struct fsck_options *o UNUSED, void *fsck_report UNUSED, enum fsck_msg_type msg_type, enum fsck_msg_id msg_id UNUSED, const char *message) { … } static int verify_object_in_tag(struct object_id *tagged_oid, int *tagged_type) { … } int cmd_mktag(int argc, const char **argv, const char *prefix, struct repository *repo UNUSED) { … }