From: Junio C Hamano Date: Fri, 7 Jun 2024 17:57:23 +0000 (-0700) Subject: Merge branch 'tb/midx-write-cleanup' X-Git-Tag: v2.46.0-rc0~71 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1b76f065085811104b5f4adff001956d7e5c5d1c;p=thirdparty%2Fgit.git Merge branch 'tb/midx-write-cleanup' Code clean-up around writing the .midx files. * tb/midx-write-cleanup: pack-bitmap.c: reimplement `midx_bitmap_filename()` with helper midx: replace `get_midx_rev_filename()` with a generic helper midx-write.c: support reading an existing MIDX with `packs_to_include` midx-write.c: extract `fill_packs_from_midx()` midx-write.c: extract `should_include_pack()` midx-write.c: pass `start_pack` to `compute_sorted_entries()` midx-write.c: reduce argument count for `get_sorted_entries()` midx-write.c: tolerate `--preferred-pack` without bitmaps --- 1b76f065085811104b5f4adff001956d7e5c5d1c