Merge branch 'ak/typofixes'
[git/gitster.git] / tag.h
blobc49d7c19ad3c9087e8a115a7a0edcd0c14062520
1 #ifndef TAG_H
2 #define TAG_H
4 #include "object.h"
6 extern const char *tag_type;
8 struct tag {
9 struct object object;
10 struct object *tagged;
11 char *tag;
12 timestamp_t date;
14 struct tag *lookup_tag(struct repository *r, const struct object_id *oid);
15 int parse_tag_buffer(struct repository *r, struct tag *item, const void *data, unsigned long size);
16 int parse_tag(struct tag *item);
17 void release_tag_memory(struct tag *t);
18 struct object *deref_tag(struct repository *r, struct object *, const char *, int);
19 struct object *deref_tag_noverify(struct repository *r, struct object *);
20 int gpg_verify_tag(const struct object_id *oid,
21 const char *name_to_report, unsigned flags);
22 struct object_id *get_tagged_oid(struct tag *tag);
24 #endif /* TAG_H */