diff options
author | Eric Wong <e@80x24.org> | 2016-05-25 22:54:02 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-05-29 17:58:34 -0700 |
commit | d2986d0f290a065fb8a534fabfff36c40d37ae97 (patch) | |
tree | aa72980b793fbce0b54da1defdfe6c41acd28e1e /sha1_name.c | |
parent | d9545c7f465ed103df44cd93caddfdd265757779 (diff) | |
download | git-d2986d0f290a065fb8a534fabfff36c40d37ae97.tar.gz |
fast-import: invalidate pack_id references after looseningew/fast-import-unpack-limit
When loosening a pack, the current pack_id gets reused when
checkpointing and the import does not terminate. This causes
problems after checkpointing as the object table, branch, and
tag lists still contains pre-checkpoint references to the
recycled pack_id.
Merely clearing the object_table as suggested by Jeff King in
http://mid.gmane.org/20160517121330.GA7346@sigill.intra.peff.net
is insufficient as the marks set still contains references
to object entries.
Wrong pack_id references branch and tags lists do not cause
errors, but can lead to misleading crash reports and core dumps,
so they are also invalidated.
Signed-off-by: Eric Wong <e@80x24.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1_name.c')
0 files changed, 0 insertions, 0 deletions