git-p4: fix copy detection test
authorVitor Antunes <vitor.hda@gmail.com>
Sat, 28 Mar 2015 00:03:03 +0000 (00:03 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 28 Mar 2015 15:55:54 +0000 (08:55 -0700)
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 <vitor.hda@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found