author | Nicolas Pitre <nico@cam.org> | |
Tue, 10 Apr 2007 04:15:41 +0000 (00:15 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 10 Apr 2007 19:48:14 +0000 (12:48 -0700) | ||
commit | 91ecbeca48e675fef8141451edb2c86577f9d63c | |
tree | 50c836214bf1c5340b05f96b654ea0936ce9bd24 | tree | snapshot |
parent | 4ba7d711539122c21bd44af06b6cab4fc4f65a74 | commit | diff |
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 <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
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 <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-pack-objects.c | diff | blob | history |