]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'tb/midx-race-in-pack-objects'
authorJunio C Hamano <gitster@pobox.com>
Fri, 3 Jun 2022 21:30:35 +0000 (14:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 3 Jun 2022 21:30:35 +0000 (14:30 -0700)
commit091680472db4ab4604e79259233040a8d5762c06
tree7905dcefc711731411f3d8a31f06bb0de0d6ad21
parentd8c8dccbaafd35879493a95840ae52153f1d1136
parent4090511e408a37091e7812bc1828a763a035e0a2
Merge branch 'tb/midx-race-in-pack-objects'

The multi-pack-index code did not protect the packfile it is going
to depend on from getting removed while in use, which has been
corrected.

* tb/midx-race-in-pack-objects:
  builtin/pack-objects.c: ensure pack validity from MIDX bitmap objects
  builtin/pack-objects.c: ensure included `--stdin-packs` exist
  builtin/pack-objects.c: avoid redundant NULL check
  pack-bitmap.c: check preferred pack validity when opening MIDX bitmap
builtin/pack-objects.c
pack-bitmap.c