summaryrefslogtreecommitdiff
path: root/builtin/pack-objects.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2017-05-06 22:10:19 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-05-08 06:12:57 (GMT)
commitd3101b533d365825f52d8e5e52328702acbc8e3a (patch)
tree22062fd7fd5ed77e4977a3ee6de3ce91c65eb3d7 /builtin/pack-objects.c
parenta92ea68fefe2b7ce61363da3f5e0ae09dd6edba4 (diff)
downloadgit-d3101b533d365825f52d8e5e52328702acbc8e3a.zip
git-d3101b533d365825f52d8e5e52328702acbc8e3a.tar.gz
git-d3101b533d365825f52d8e5e52328702acbc8e3a.tar.bz2
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 'builtin/pack-objects.c')
-rw-r--r--builtin/pack-objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/pack-objects.c b/builtin/pack-objects.c
index d76ff05..7cebb5a 100644
--- a/builtin/pack-objects.c
+++ b/builtin/pack-objects.c
@@ -2348,7 +2348,7 @@ static void add_tag_chain(const struct object_id *oid)
if (packlist_find(&to_pack, oid->hash, NULL))
return;
- tag = lookup_tag(oid->hash);
+ tag = lookup_tag(oid);
while (1) {
if (!tag || parse_tag(tag) || !tag->tagged)
die("unable to pack objects reachable from tag %s",