author | Nelson Elhage <nelhage@ksplice.com> | |
Thu, 12 Aug 2010 14:18:12 +0000 (10:18 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 12 Aug 2010 20:26:05 +0000 (13:26 -0700) | ||
commit | 6e2a09d24b2634cdfec3395122cd4a07eb517b0d | |
tree | ae449e38f0318eda974a772a283f468203e726a0 | tree | snapshot |
parent | b5e233ecc411c8685463333d180a135c6866c50e | commit | diff |
index-pack: Don't follow replace refs.
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>
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>
builtin/index-pack.c | diff | blob | history | |
t/t6050-replace.sh | diff | blob | history |