aboutsummaryrefslogtreecommitdiff
path: root/builtin/pack-objects.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-01-08 16:40:11 +0900
committerJunio C Hamano <gitster@pobox.com>2026-01-08 16:40:11 +0900
commitd28d2be5f2aa6acbd0c86b8fbae68cd222de3f4f (patch)
treedc76572fbf677e72117a545e2b0da7d4fe94e889 /builtin/pack-objects.c
parente0bfec3dfc356f7d808eb5ee546a54116b794397 (diff)
parent009fceeda26e12e2dbacd04eef47c62d4e206403 (diff)
downloadgit-d28d2be5f2aa6acbd0c86b8fbae68cd222de3f4f.tar.xz
Merge branch 'rs/tag-wo-the-repository'
Code clean-up. * rs/tag-wo-the-repository: tag: stop using the_repository tag: support arbitrary repositories in parse_tag() tag: support arbitrary repositories in gpg_verify_tag() tag: use algo of repo parameter in parse_tag_buffer()
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 1ce8d6ee21..ca44b7894f 100644
--- a/builtin/pack-objects.c
+++ b/builtin/pack-objects.c
@@ -3293,7 +3293,7 @@ static void add_tag_chain(const struct object_id *oid)
tag = lookup_tag(the_repository, oid);
while (1) {
- if (!tag || parse_tag(tag) || !tag->tagged)
+ if (!tag || parse_tag(the_repository, tag) || !tag->tagged)
die(_("unable to pack objects reachable from tag %s"),
oid_to_hex(oid));