]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'tb/midx-with-changing-preferred-pack-fix'
authorJunio C Hamano <gitster@pobox.com>
Tue, 6 Sep 2022 01:33:39 +0000 (18:33 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Sep 2022 01:33:39 +0000 (18:33 -0700)
commitcf98b69053996728f131671ed7ff9581b0e8943a
tree7bc6929a4ef5e7831e8d411420d9f3de60cba2fd
parentbe1a02a17ede4082a86dfbfee0f54f345e8b43ac
parent99e4d084ffc4c6f8cb28ec61fdbb44facdd47ac7
Merge branch 'tb/midx-with-changing-preferred-pack-fix'

Multi-pack index got corrupted when preferred pack changed from one
pack to another in a certain way, which has been corrected.

* tb/midx-with-changing-preferred-pack-fix:
  midx.c: avoid adding preferred objects twice
  midx.c: include preferred pack correctly with existing MIDX
  midx.c: extract `midx_fanout_add_pack_fanout()`
  midx.c: extract `midx_fanout_add_midx_fanout()`
  midx.c: extract `struct midx_fanout`
  t/lib-bitmap.sh: avoid silencing stderr
  t5326: demonstrate potential bitmap corruption
midx.c