Revision 7ba46269a04de20032bd2dd614be6290cd65caab authored by Junio C Hamano on 07 January 2015, 21:28:10 UTC, committed by Junio C Hamano on 07 January 2015, 21:28:10 UTC
* maint-2.1:
  is_hfs_dotgit: loosen over-eager match of \u{..47}
2 parent s c2e8e4b + 3c84ac8
Raw File
tag.h
#ifndef TAG_H
#define TAG_H

#include "object.h"

extern const char *tag_type;

struct tag {
	struct object object;
	struct object *tagged;
	char *tag;
	unsigned long date;
};

extern struct tag *lookup_tag(const unsigned char *sha1);
extern int parse_tag_buffer(struct tag *item, const void *data, unsigned long size);
extern int parse_tag(struct tag *item);
extern struct object *deref_tag(struct object *, const char *, int);
extern struct object *deref_tag_noverify(struct object *);

#endif /* TAG_H */
back to top