Code

make packed_object_info() resilient to pack corruptions
authorNicolas Pitre <nico@cam.org>
Wed, 29 Oct 2008 23:02:47 +0000 (19:02 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sun, 2 Nov 2008 23:22:35 +0000 (15:22 -0800)
commit3d77d8774fc18216f18efa5c5907f73b22d61604
tree46978a171ee1c6444195a3f1945c112c8359536d
parent09ded04b7e1f0096bb2fe356b2f5a298296151dd
make packed_object_info() resilient to pack corruptions

In the same spirit as commit 8eca0b47ff, let's try to survive a pack
corruption by making packed_object_info() able to fall back to alternate
packs or loose objects.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_file.c