]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'tb/midx-bitmap-corruption-fix'
authorJunio C Hamano <gitster@pobox.com>
Wed, 16 Feb 2022 23:14:29 +0000 (15:14 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Feb 2022 23:14:29 +0000 (15:14 -0800)
commitf2cb46a6b3398308d148c037fdd786e6d45b59bf
treedb3bd0f923d27a86c89fff8e4f489fa0990a7251
parent90b7153806af46ca62b85a92a2810015be2453d4
parentf8b60cf99b0ab10d915c7bfd4802a1af45d0d439
Merge branch 'tb/midx-bitmap-corruption-fix'

A bug that made multi-pack bitmap and the object order out-of-sync,
making the .midx data corrupt, has been fixed.

* tb/midx-bitmap-corruption-fix:
  pack-bitmap.c: gracefully fallback after opening pack/MIDX
  midx: read `RIDX` chunk when present
  t/lib-bitmap.sh: parameterize tests over reverse index source
  t5326: move tests to t/lib-bitmap.sh
  t5326: extract `test_rev_exists`
  t5326: drop unnecessary setup
  pack-revindex.c: instrument loading on-disk reverse index
  midx.c: make changing the preferred pack safe
  t5326: demonstrate bitmap corruption after permutation
t/t7700-repack.sh