directory rename detection: new testcases showcasing a pair of bugs
commitbc71c4eebe7ecbb00e06c6b62bc9f0e42aee9d9b
authorElijah Newren <newren@gmail.com>
Thu, 19 Apr 2018 17:58:14 +0000 (19 10:58 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 8 May 2018 07:11:00 +0000 (8 16:11 +0900)
treed3a701b55c5e5b4843cf4bf5e4cc9cd24afb43ec
parent18797a3b10e4077473740b953651b0032828d0fb
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