validate reused pack data with CRC when possible
authorNicolas Pitre <redacted>
Tue, 10 Apr 2007 04:15:41 +0000 (00:15 -0400)
committerJunio C Hamano <redacted>
Tue, 10 Apr 2007 19:48:14 +0000 (12:48 -0700)
commit91ecbeca48e675fef8141451edb2c86577f9d63c
tree50c836214bf1c5340b05f96b654ea0936ce9bd24
parent4ba7d711539122c21bd44af06b6cab4fc4f65a74
validate reused pack data with CRC when possible

This replaces the inflate validation with a CRC validation when reusing
data from a pack which uses index version 2.  That makes repacking much
safer against corruptions, and it should be a bit faster too.

Signed-off-by: Nicolas Pitre <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin-pack-objects.c
git clone https://git.99rst.org/PROJECT