3 test_description
='Rebase between trees with a file and a dir with the same name'
7 test_expect_success
'Set up a repo with two branches' '
9 echo "Jag älskar morötter" > x/y &&
11 git commit -m "Commit where x is a directory" &&
13 git reset --hard HEAD^ &&
14 echo "Jag älskar grisfötter" > x &&
16 git commit -m "Commit where x is a file" &&
21 test_expect_success
'Rebase from file to dir' '
25 test_expect_success
'Rebase from dir to file' '