diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2009-02-10 13:36:12 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-02-10 15:30:59 -0800 |
commit | 3d20c636af05c44a6ff4df9309c2bca108ee149b (patch) | |
tree | 97e2732bcb3039de582f9118077a43a1dc6e0472 /strbuf.c | |
parent | Fixed broken git help -w when installing from RPM (diff) | |
download | tgif-3d20c636af05c44a6ff4df9309c2bca108ee149b.tar.xz |
Clear the delta base cache during fast-import checkpoint
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>
Diffstat (limited to 'strbuf.c')
0 files changed, 0 insertions, 0 deletions