diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2020-06-23 17:47:00 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-06-23 17:12:08 -0700 |
commit | 98037f2bf2fb82845179f3311d8f64f7e27d77c4 (patch) | |
tree | 14b38aa2ac9151fef1146ebec831b5d41ae6de07 /compat/mingw.c | |
parent | commit-graph: simplify write_commit_graph_file() #2 (diff) | |
download | tgif-98037f2bf2fb82845179f3311d8f64f7e27d77c4.tar.xz |
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 <szeder.dev@gmail.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/mingw.c')
0 files changed, 0 insertions, 0 deletions