Revision 0189df3161986643565f12418a8c64edbc42de2e authored by Junio C Hamano on 14 October 2014, 17:50:09 UTC, committed by Junio C Hamano on 14 October 2014, 17:50:10 UTC
* rs/plug-leak-in-bundle:
  bundle: plug minor memory leak in is_tag_in_date_range()
2 parent s 145c590 + 6404594
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