Subject: [PATCH 05/10] delta-islands: use repo_parse_tree()

From: René Scharfe <[email-masked]>
Date: Fri, 9 Jan 2026 22:30:16 +0100

19be71db9c (delta-islands: stop depending on `the_repository`,
2025-03-10) replaced explicit uses of the_repository.  parse_tree() uses
it internally, though, so call repo_parse_tree() instead and hand it the
correct repository.

Signed-off-by: René Scharfe <[email-masked]>
---
 delta-islands.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/delta-islands.c b/delta-islands.c
index 7cfebc4162b..f4d2468790c 100644
--- a/delta-islands.c
+++ b/delta-islands.c
@@ -283,7 +283,7 @@ void resolve_tree_islands(struct repository *r,
 		root_marks = kh_value(island_marks, pos);
 
 		tree = lookup_tree(r, &ent->idx.oid);
-		if (!tree || parse_tree(tree) < 0)
+		if (!tree || repo_parse_tree(r, tree) < 0)
 			die(_("bad tree object %s"), oid_to_hex(&ent->idx.oid));
 
 		init_tree_desc(&desc, &tree->object.oid, tree->buffer, tree->size);
-- 
2.52.0