mirror of
https://github.com/git/git.git
synced 2026-01-09 01:34:00 +00:00
Convert lookup_tag to struct object_id
Convert lookup_tag to take a pointer to struct object_id. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
a92ea68fef
commit
d3101b533d
2
tag.h
2
tag.h
@@ -12,7 +12,7 @@ struct tag {
|
||||
unsigned long date;
|
||||
};
|
||||
|
||||
extern struct tag *lookup_tag(const unsigned char *sha1);
|
||||
extern struct tag *lookup_tag(const struct object_id *oid);
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user