From: Junio C Hamano Date: Tue, 23 Dec 2025 02:33:31 +0000 (+0900) Subject: Merge branch 'ps/repack-avoid-noop-midx-rewrite' into jch X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4516d7490a0f87ca59e6f6fd4722e0fb1162f00;p=thirdparty%2Fgit.git Merge branch 'ps/repack-avoid-noop-midx-rewrite' into jch 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 --- e4516d7490a0f87ca59e6f6fd4722e0fb1162f00