Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tag.h
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2017-05-07 01:10:19 +0300
committerJunio C Hamano <gitster@pobox.com>2017-05-08 09:12:57 +0300
commitd3101b533d365825f52d8e5e52328702acbc8e3a (patch)
tree22062fd7fd5ed77e4977a3ee6de3ce91c65eb3d7 /tag.h
parenta92ea68fefe2b7ce61363da3f5e0ae09dd6edba4 (diff)
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>
Diffstat (limited to 'tag.h')
-rw-r--r--tag.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tag.h b/tag.h
index a5721b6731..8d6fc28145 100644
--- a/tag.h
+++ b/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);