verify-pack: check integrity in a saner order.
authorJunio C Hamano <junkio@cox.net>
Thu, 27 Apr 2006 22:42:01 +0000 (15:42 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 27 Apr 2006 22:42:17 +0000 (15:42 -0700)
commit55e1805dffeb5d2a8ccd717b2d07ca8887436a69
tree9e969600edcc30c54db9d7d561b457f3d47e7c88
parent5981e09999e90b389a02843671529a0faaf72143
verify-pack: check integrity in a saner order.

Check internal integrity to report corrupt pack or idx, and
then check cross-integrity between idx and pack.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
pack-check.c