commit: add "lookup_commit_reference()" helper function
[git/repo.git] / tag.h
blob41826870f87aaa2e45f34b825aa2c7c63aa81d80
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 char *signature; /* not actually implemented */
15 extern struct tag *lookup_tag(unsigned char *sha1);
16 extern int parse_tag_buffer(struct tag *item, void *data, unsigned long size);
17 extern int parse_tag(struct tag *item);
19 #endif /* TAG_H */