Re: [PATCH v2 14/16] repack: implement incremental MIDX repacking
On Tue, Apr 21, 2026 at 04:37:54PM -0400, Taylor Blau wrote:
> Unlike the default mode which writes a single flat MIDX, the incremental
> mode constructs a compaction plan that determines which MIDX layers to
> write, compact, or copy, and then executes each step using `git
> multi-pack-index` subcommands with the --checksum-only flag.
This should be --no-write-chain-file, I think.
Ditto here:
Show 5 quoted lines
> After writing the new layer, the strategy is evaluated among the
> existing MIDX layers in order from oldest to newest. Each step that
> writes a new MIDX layer uses "--checksum-only" to avoid updating the
> multi-pack-index-chain file. After all steps are complete, the new chain
> file is written and then atomically moved into place.
In the code I think it is all good, though:
> + strvec_pushl(&cmd.args, "--incremental", "--no-write-chain-file", NULL);