diff options
author | Vitor Antunes <vitor.hda@gmail.com> | 2015-04-06 00:08:35 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-04-12 20:25:17 -0700 |
commit | f1f4c84dccba24d606e82d3436c1c4f573712d28 (patch) | |
tree | 00cd119fe5295e6fc6733a316129c0bea7ca9faa /t/t9161/branches.dump | |
parent | git-p4: fix copy detection test (diff) | |
download | tgif-f1f4c84dccba24d606e82d3436c1c4f573712d28.tar.xz |
t9814: guarantee only one source exists in git-p4 copy tests
By using a tree with multiple identical files and allowing copy detection to
choose any one of them, the check in the test is unnecessarily complex. We can
simplify by:
* Modify source file (file2) before copying the file.
* Check that only file2 is the source in the output of "p4 filelog".
* Remove all "case" statements and replace them with simple tests to check
that source is "file2".
Signed-off-by: Vitor Antunes <vitor.hda@gmail.com>
Acked-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9161/branches.dump')
0 files changed, 0 insertions, 0 deletions