From a09858d43d818cfd23a9408a41460301741fa251 Mon Sep 17 00:00:00 2001 From: Taylor Blau Date: Tue, 25 Jun 2024 13:39:41 -0400 Subject: bloom.h: make `load_bloom_filter_from_graph()` public Prepare for a future commit to use the load_bloom_filter_from_graph() function directly to load specific Bloom filters out of the commit-graph for manual inspection (to be used during tests). Signed-off-by: Taylor Blau Signed-off-by: Jonathan Tan Signed-off-by: Junio C Hamano Signed-off-by: Taylor Blau Signed-off-by: Junio C Hamano --- bloom.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bloom.c') diff --git a/bloom.c b/bloom.c index e529f7605c..401999ed3c 100644 --- a/bloom.c +++ b/bloom.c @@ -48,9 +48,9 @@ static int check_bloom_offset(struct commit_graph *g, uint32_t pos, return -1; } -static int load_bloom_filter_from_graph(struct commit_graph *g, - struct bloom_filter *filter, - uint32_t graph_pos) +int load_bloom_filter_from_graph(struct commit_graph *g, + struct bloom_filter *filter, + uint32_t graph_pos) { uint32_t lex_pos, start_index, end_index; -- cgit 1.2.3-korg