diff options
author | Stefan Beller <sbeller@google.com> | 2018-06-29 03:22:11 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-29 19:43:39 +0200 |
commit | 8bde69b974d20a030506d2de49b7cacfb17a63e7 (patch) | |
tree | a51eb481710f7435727329d35c41af759e01f59a /tag.h | |
parent | commit: allow lookup_commit to handle arbitrary repositories (diff) | |
download | git-8bde69b974d20a030506d2de49b7cacfb17a63e7.tar.xz git-8bde69b974d20a030506d2de49b7cacfb17a63e7.zip |
tag: allow lookup_tag 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
@@ -11,8 +11,7 @@ struct tag { char *tag; timestamp_t date; }; -#define lookup_tag(r, o) lookup_tag_##r(o) -extern struct tag *lookup_tag_the_repository(const struct object_id *oid); +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(struct tag *item); |