From: Vitor Antunes Date: Sat, 28 Mar 2015 00:03:03 +0000 (+0000) Subject: git-p4: fix copy detection test X-Git-Tag: v2.4.0-rc3~6^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/138ce9c29f622ea962ee3ed676dd137e20397fcf?hp=138ce9c29f622ea962ee3ed676dd137e20397fcf git-p4: fix copy detection test File file11 is copied from file2 and diff-tree correctly reports this file as its the source. But it is possible that the diff-tree algorithm detects file10, which was also copied from file2, as the origin of the new file. This fix uses a case statement to support both files as the source of file11, as was done in other tests in this file. Signed-off-by: Vitor Antunes Signed-off-by: Junio C Hamano ---