diff options
author | Dmitry Ivankov <divanorama@gmail.com> | 2011-08-15 00:32:23 +0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-14 14:40:00 -0700 |
commit | 9a0edb79f2f00c79b9dced22f67d226f6bb9c741 (patch) | |
tree | e78e88fff3d4aa857e6a394cf44e56c8ce4ef7da /builtin/check-ref-format.c | |
parent | filter-branch: Export variable `workdir' for --commit-filter (diff) | |
download | tgif-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/check-ref-format.c')
0 files changed, 0 insertions, 0 deletions