]> git.ipfire.org Git - thirdparty/git.git/commitdiff
bloom: use repo_parse_tree()
authorRené Scharfe <l.s.r@web.de>
Fri, 9 Jan 2026 21:30:15 +0000 (22:30 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 10 Jan 2026 02:36:16 +0000 (18:36 -0800)
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>
bloom.c

diff --git a/bloom.c b/bloom.c
index 2d7b951e5bf24592e5f0c830ef04b7786768f359..77a6fddf720912f72693627aea7a38bcb97757d0 100644 (file)
--- 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)) {