summaryrefslogtreecommitdiff
path: root/t/helper/test-date.c
diff options
context:
space:
mode:
authorLibravatar Eric Wong <e@80x24.org>2016-05-25 22:54:02 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-05-29 17:58:34 -0700
commitd2986d0f290a065fb8a534fabfff36c40d37ae97 (patch)
treeaa72980b793fbce0b54da1defdfe6c41acd28e1e /t/helper/test-date.c
parentfast-import: implement unpack limit (diff)
downloadtgif-d2986d0f290a065fb8a534fabfff36c40d37ae97.tar.xz
fast-import: invalidate pack_id references after loosening
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 't/helper/test-date.c')
0 files changed, 0 insertions, 0 deletions