From: Junio C Hamano Date: Mon, 25 Oct 2021 23:07:00 +0000 (-0700) Subject: Merge branch 'tb/fix-midx-rename-while-mapped' X-Git-Tag: v2.34.0-rc0~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d54fd59d848422989268088c8fba01a5c27e8dc2;p=thirdparty%2Fgit.git Merge branch 'tb/fix-midx-rename-while-mapped' The codepath to write a new version of .midx multi-pack index files has learned to release the mmaped memory holding the current version of .midx before removing them from the disk, as some platforms do not allow removal of a file that still has mapping. * tb/fix-midx-rename-while-mapped: midx.c: guard against commit_lock_file() failures midx.c: lookup MIDX by object directory during repack midx.c: lookup MIDX by object directory during expire midx.c: extract MIDX lookup by object_dir --- d54fd59d848422989268088c8fba01a5c27e8dc2