summaryrefslogtreecommitdiff
path: root/builtin/mailinfo.c
diff options
context:
space:
mode:
authorLibravatar Dmitry Ivankov <divanorama@gmail.com>2011-08-15 00:32:23 +0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-08-14 14:40:00 -0700
commit9a0edb79f2f00c79b9dced22f67d226f6bb9c741 (patch)
treee78e88fff3d4aa857e6a394cf44e56c8ce4ef7da /builtin/mailinfo.c
parentfilter-branch: Export variable `workdir' for --commit-filter (diff)
downloadtgif-9a0edb79f2f00c79b9dced22f67d226f6bb9c741.tar.xz
fast-import: add a test for tree delta base corruption
fast-import is able to write imported tree objects in delta format. It holds a tree structure in memory where each tree entry may have a delta base sha1 assigned. When delta base data is needed it is reconstructed from this in-memory structure. Though sometimes the delta base data doesn't match the delta base sha1 so wrong or even corrupt pack is produced. Add a small test that produces a corrupt pack. It uses just tree copy and file modification commands aside from the very basic commit and blob commands. Signed-off-by: Dmitry Ivankov <divanorama@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/mailinfo.c')
0 files changed, 0 insertions, 0 deletions