bloom: use repo_parse_tree()

Use the passed in repository instead of the implicit the_repository when
parsing the tree.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
René Scharfe 2026-01-09 22:30:15 +01:00 committed by Junio C Hamano
parent 548aaf9d06
commit 83131ed25c

View File

@ -354,7 +354,7 @@ static void init_truncated_large_filter(struct bloom_filter *filter,
static int has_entries_with_high_bit(struct repository *r, struct tree *t)
{
if (parse_tree(t))
if (repo_parse_tree(r, t))
return 1;
if (!(t->object.flags & VISITED)) {