From: Junio C Hamano Date: Sat, 17 Jul 2021 00:42:46 +0000 (-0700) Subject: Merge branch 'tb/midx-use-checksum' X-Git-Tag: v2.33.0-rc0~54 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3b57e72c0c37b972240387cf7c4eb9d87f799c87;p=thirdparty%2Fgit.git Merge branch 'tb/midx-use-checksum' When rebuilding the multi-pack index file reusing an existing one, we used to blindly trust the existing file and ended up carrying corrupted data into the updated file, which has been corrected. * tb/midx-use-checksum: midx: report checksum mismatches during 'verify' midx: don't reuse corrupt MIDXs when writing commit-graph: rewrite to use checksum_valid() csum-file: introduce checksum_valid() --- 3b57e72c0c37b972240387cf7c4eb9d87f799c87