]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/pack-objects.c
Merge branch 'sb/object-store-lookup'
[thirdparty/git.git] / builtin / pack-objects.c
index ebc8cefb53f4a1fde99eff8d6f19c8df0cec0ede..4391504a91367bc8c4897e66921fe9a91263f0d0 100644 (file)
@@ -2474,7 +2474,7 @@ static void add_tag_chain(const struct object_id *oid)
        if (packlist_find(&to_pack, oid->hash, NULL))
                return;
 
-       tag = lookup_tag(oid);
+       tag = lookup_tag(the_repository, oid);
        while (1) {
                if (!tag || parse_tag(tag) || !tag->tagged)
                        die("unable to pack objects reachable from tag %s",