]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'tb/midx-write-cleanup'
authorJunio C Hamano <gitster@pobox.com>
Fri, 7 Jun 2024 17:57:23 +0000 (10:57 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Jun 2024 17:57:23 +0000 (10:57 -0700)
commit1b76f065085811104b5f4adff001956d7e5c5d1c
treef331e43e85de3767abb7f8d353fa174db344f1f3
parentcd77e87115eab5e80e6b161e7b84a79ba1a12cdc
parent4cac79a50e242c8864e2c0f2fbf40e2d22b5fee6
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
midx-write.c