Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
git/tag.h
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
21 lines (16 sloc)
508 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 */ |