Skip to content

Commit 83131ed

Browse files
rscharfegitster
authored andcommitted
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>
1 parent 548aaf9 commit 83131ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bloom.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ static void init_truncated_large_filter(struct bloom_filter *filter,
354354

355355
static int has_entries_with_high_bit(struct repository *r, struct tree *t)
356356
{
357-
if (parse_tree(t))
357+
if (repo_parse_tree(r, t))
358358
return 1;
359359

360360
if (!(t->object.flags & VISITED)) {

0 commit comments

Comments
 (0)