mirror of
https://github.com/git/git
synced 2024-10-30 04:01:21 +00:00
d5e276884a
Make sure the Makefile knows about the object header dependencies, and add declarations for tag lookup/parsing.
18 lines
317 B
C
18 lines
317 B
C
#ifndef TAG_H
|
|
#define TAG_H
|
|
|
|
#include "object.h"
|
|
|
|
extern const char *tag_type;
|
|
|
|
struct tag {
|
|
struct object object;
|
|
struct object *tagged;
|
|
char *tag;
|
|
char *signature; /* not actually implemented */
|
|
};
|
|
|
|
extern struct tag *lookup_tag(unsigned char *sha1);
|
|
extern int parse_tag(struct tag *item);
|
|
|
|
#endif /* TAG_H */
|