Diff options
Diffstat (limited to 'tests/t0107-diff.sh')
| -rwxr-xr-x | tests/t0107-diff.sh | 11 |
1 file changed, 1 insertion, 10 deletions
diff --git a/tests/t0107-diff.sh b/tests/t0107-diff.sh index d0296d5..a23327b 100755 --- a/tests/t0107-diff.sh +++ b/tests/t0107-diff.sh @@ -382,16 +382,7 @@ test_expect_success 'rename-limit bounds the renames a diff looks for' ' # diff runs over the whole commit to find the rename, so the commit changes # another file as well, which the limit still has to leave out. test_expect_success 'set up a renamed file' ' - mkrepo repos/moved 1 && - ( - cd repos/moved && - test_seq 1 10 >old.txt && - git add old.txt && - git commit -m "add old.txt" && - git mv old.txt new.txt && - echo changed >file-1 && - git commit -am "rename old.txt" - ) && + mkrepo_renamed repos/moved "echo changed >file-1" && cgitrc_repo movedrc moved ' |
