summaryrefslogtreecommitdiff
path: root/tag.h
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2018-06-29 01:22:12 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-06-29 17:43:39 (GMT)
commit84f80cd2db5daa71a68df9a71c13524700a4edc7 (patch)
tree19e90cff8ce995306554b9926ae995429b7319e2 /tag.h
parent8bde69b974d20a030506d2de49b7cacfb17a63e7 (diff)
downloadgit-84f80cd2db5daa71a68df9a71c13524700a4edc7.zip
git-84f80cd2db5daa71a68df9a71c13524700a4edc7.tar.gz
git-84f80cd2db5daa71a68df9a71c13524700a4edc7.tar.bz2
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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tag.h b/tag.h
index 6a160c9..efd4c7d 100644
--- a/tag.h
+++ b/tag.h
@@ -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)