index-pack: Don't follow replace refs.
authorNelson Elhage <nelhage@ksplice.com>
Thu, 12 Aug 2010 14:18:12 +0000 (10:18 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Aug 2010 20:26:05 +0000 (13:26 -0700)
Without this, attempting to index a pack containing objects that have been
replaced results in a fatal error that looks like:

fatal: SHA1 COLLISION FOUND WITH <replaced-object> !

Signed-off-by: Nelson Elhage <nelhage@ksplice.com>
Acked-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found