midx: drop chunk progress during write
commitc1442410d869cd5fb2c0dd79aa1a7c152b99b0f9
authorDerrick Stolee <dstolee@microsoft.com>
Thu, 18 Feb 2021 14:07:32 +0000 (18 14:07 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Feb 2021 21:38:16 +0000 (18 13:38 -0800)
treea44c8581e44fb68920b82258a7234a460ca9a560
parent0ccd713cb6c4dafd36bdf85384becbb9b38504ba
midx: drop chunk progress during write

Most expensive operations in write_midx_internal() use the context
struct's progress member, and these indicate the process of the
expensive operations within the chunk writing methods. However, there is
a competing progress struct that counts the progress over all chunks.
This is not very helpful compared to the others, so drop it.

This also reduces our barriers to combining the chunk writing code with
chunk-format.c.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
midx.c