commit-graph: place bloom_settings in context
authorDerrick Stolee <redacted>
Tue, 23 Jun 2020 17:47:00 +0000 (17:47 +0000)
committerJunio C Hamano <redacted>
Wed, 24 Jun 2020 00:12:08 +0000 (17:12 -0700)
commit98037f2bf2fb82845179f3311d8f64f7e27d77c4
tree14b38aa2ac9151fef1146ebec831b5d41ae6de07
parent7fbfe07ab4d4e58c0971dac73001b89f180a0af3
commit-graph: place bloom_settings in context

Place an instance of struct bloom_settings into the struct
write_commit_graph_context. This allows simplifying the function
prototype of write_graph_chunk_bloom_data(). This will allow us
to combine the function prototypes and use function pointers to
simplify write_commit_graph_file().

By using a pointer, we can later replace the settings to match those
that exist in the current commit-graph, in case a future Git version
allows customization of these parameters.

Reported-by: SZEDER Gábor <redacted>
Signed-off-by: Derrick Stolee <redacted>
Signed-off-by: Junio C Hamano <redacted>
commit-graph.c
git clone https://git.99rst.org/PROJECT