Clear the delta base cache during fast-import checkpoint
authorShawn O. Pearce <spearce@spearce.org>
Tue, 10 Feb 2009 21:36:12 +0000 (13:36 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Feb 2009 23:30:59 +0000 (15:30 -0800)
Otherwise we may reuse the same memory address for a totally
different "struct packed_git", and a previously cached object from
the prior occupant might be returned when trying to unpack an object
from the new pack.

Found-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found