diff options
author | Stefan Beller <sbeller@google.com> | 2018-06-29 03:22:12 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-29 19:43:39 +0200 |
commit | 84f80cd2db5daa71a68df9a71c13524700a4edc7 (patch) | |
tree | 19e90cff8ce995306554b9926ae995429b7319e2 /tag.h | |
parent | tag: allow lookup_tag to handle arbitrary repositories (diff) | |
download | git-84f80cd2db5daa71a68df9a71c13524700a4edc7.tar.xz git-84f80cd2db5daa71a68df9a71c13524700a4edc7.zip |
tag: allow parse_tag_buffer to handle arbitrary repositories
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tag.h')
-rw-r--r-- | tag.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -12,8 +12,7 @@ struct tag { timestamp_t date; }; extern struct tag *lookup_tag(struct repository *r, const struct object_id *oid); -#define parse_tag_buffer(r, i, d, s) parse_tag_buffer_##r(i, d, s) -extern int parse_tag_buffer_the_repository(struct tag *item, const void *data, unsigned long size); +extern int parse_tag_buffer(struct repository *r, struct tag *item, const void *data, unsigned long size); extern int parse_tag(struct tag *item); extern void release_tag_memory(struct tag *t); #define deref_tag(r, o, w, l) deref_tag_##r(o, w, l) |