]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ps/repack-avoid-noop-midx-rewrite' into next
authorJunio C Hamano <gitster@pobox.com>
Mon, 22 Dec 2025 05:58:28 +0000 (14:58 +0900)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Dec 2025 05:58:28 +0000 (14:58 +0900)
commit0d3b9de55c6d3b401cf2ffa2f1d3fb33fb6d60c6
treee12dddd4d181f85089a263d73e477be5e57d9af8
parent3eaa789d0d37911e82d93f66790f451b2f5658bf
parent6ce9d558ced275a707393d044e5b0035412f8360
Merge branch 'ps/repack-avoid-noop-midx-rewrite' into next

Even when there is no changes in the packfile and no need to
recompute bitmaps, "git repack" recomputed and updated the MIDX
file, which has been corrected.

* ps/repack-avoid-noop-midx-rewrite:
  midx-write: skip rewriting MIDX with `--stdin-packs` unless needed
  midx-write: extract function to test whether MIDX needs updating
  midx: fix `BUG()` when getting preferred pack without a reverse index
midx-write.c
midx.c