verify-pack: check packed object CRC when using index version 2
authorNicolas Pitre <nico@cam.org>
Wed, 25 Jun 2008 03:19:02 +0000 (23:19 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Jun 2008 06:58:57 +0000 (23:58 -0700)
commitc41a4a9468b0c728e77ec5d97da7bfb63776ac3f
tree6f17dc7359d8edae4043aa06a50eb88cba8d4304
parent77d3ecee85dbf354d2059d7ef65d788d90db3efa
verify-pack: check packed object CRC when using index version 2

To do so, check_pack_crc() moved from builtin-pack-objects.c to
pack-check.c where it is more logical to share.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-pack-objects.c
pack-check.c
pack.h