Code

t9301: Add 2nd testcase exposing bugs in fast-import's notes fanout handling
authorJohan Herland <johan@herland.net>
Fri, 25 Nov 2011 00:09:46 +0000 (01:09 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Nov 2011 00:37:17 +0000 (16:37 -0800)
commit9ff5e21f0e2d0944535dbf4d35758a7e027ae0c6
treed8767732bafad51f8f8849ae47640588024b7125
parentd1075414dcd48948ecba65ac7bcae23bee73801f
t9301: Add 2nd testcase exposing bugs in fast-import's notes fanout handling

The previous patch exposed a bug in fast-import where _removing_ an existing
note fails (when that note resides on a non-zero fanout level, and was added
prior to this fast-import run).

This patch demostrates the same issue when _changing_ an existing note
(subject to the same circumstances).

Discovered-by: Henrik Grubbström <grubba@roxen.com>
Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9301-fast-import-notes.sh