builtin/repack: avoid rewriting up-to-date MIDX

Hi,

this small patch series introduces logic to avoid rewriting the multi-pack index in case it's up-to-date already. This is especially relevant in the context of geometric repacking, where we may decide to not write any new packfiles, but we'd still rewrite the multi-pack index.

This is a follow-up for the discussion that happened at 1.

Thanks!

Patrick

To: git@vger.kernel.org Cc: Taylor Blau me@ttaylorr.com Cc: Jeff King peff@peff.net

--- b4-submit-tracking ---

This section is used internally by b4 prep for tracking purposes.

{ "series": { "revision": 1, "change-id": "20251208-pks-skip-noop-rewrite-38d7f01c79c5", "prefixes": [] } }

Closes Don't regenerate MIDX when it doesn't change (#612).

Merge request reports

Loading