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
@@ -354,7 +354,7 @@ static void init_truncated_large_filter(struct bloom_filter *filter,
354
355
static int has_entries_with_high_bit(struct repository *r, struct tree *t)
356
{
357
- if (parse_tree(t))
357
+ if (repo_parse_tree(r, t))
358
return 1;
359
360
if (!(t->object.flags & VISITED)) {