directory rename detection: new testcases showcasing a pair of bugs
commit8f581e3a470fa92e99b28974f68ee2d23230d1c9
authorElijah Newren <newren@gmail.com>
Wed, 14 Feb 2018 18:52:04 +0000 (14 10:52 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 Feb 2018 22:11:58 +0000 (27 14:11 -0800)
treebea7ffcbed02acb4bf959495a7ca5e83779ef7ec
parentbbafab7f326146dc9a8bcf42071574dc22fbed5e
directory rename detection: new testcases showcasing a pair of bugs

Add a testcase showing spurious rename/rename(1to2) conflicts occurring
due to directory rename detection.

Also add a pair of testcases dealing with moving directory hierarchies
around that were suggested by Stefan Beller as "food for thought" during
his review of an earlier patch series, but which actually uncovered a
bug.  Round things out with a test that is a cross between the two
testcases that showed existing bugs in order to make sure we aren't
merely addressing problems in isolation but in general.

Reviewed-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6043-merge-rename-directories.sh