#define USE_THE_REPOSITORY_VARIABLE #include "git-compat-util.h" #include "environment.h" #include "tag.h" #include "object-name.h" #include "object-store-ll.h" #include "commit.h" #include "tree.h" #include "blob.h" #include "alloc.h" #include "gpg-interface.h" #include "hex.h" #include "packfile.h" const char *tag_type = …; static int run_gpg_verify(const char *buf, unsigned long size, unsigned flags) { … } int gpg_verify_tag(const struct object_id *oid, const char *name_to_report, unsigned flags) { … } struct object *deref_tag(struct repository *r, struct object *o, const char *warn, int warnlen) { … } struct object *deref_tag_noverify(struct repository *r, struct object *o) { … } struct tag *lookup_tag(struct repository *r, const struct object_id *oid) { … } static timestamp_t parse_tag_date(const char *buf, const char *tail) { … } void release_tag_memory(struct tag *t) { … } int parse_tag_buffer(struct repository *r, struct tag *item, const void *data, unsigned long size) { … } int parse_tag(struct tag *item) { … } struct object_id *get_tagged_oid(struct tag *tag) { … }