mirror of
https://github.com/git/git.git
synced 2024-11-19 00:04:01 +01:00
d5e276884a
Make sure the Makefile knows about the object header dependencies, and add declarations for tag lookup/parsing.
19 lines
317 B
C
19 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 */
|