]> git.ipfire.org Git - thirdparty/git.git/commitdiff
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)
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

1  2 
midx-write.c
midx.c

diff --cc midx-write.c
Simple merge
diff --cc midx.c
Simple merge