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>
René Scharfe committed
Jan 9, 2026 at 22:30 UTC
83131ed25c01ae1862d5e99ad349cb8eead454c0
1 file changed
+1
-1
bloom.c
+1
-1
index 2d7b951e5b..77a6fddf72 100644
--- a/bloom.c
+++ b/bloom.c
@@ -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)) {