3 test_description
='git rebase across mode change'
7 test_expect_success
'setup' '
18 test_ln_s_add unrelated DS &&
19 git commit -m side1 &&
24 git commit -m commit1 &&
27 git commit -am commit2
30 test_expect_success
'rebase changes with the apply backend' '
31 test_when_finished "git rebase --abort || true" &&
32 git checkout -b apply-backend side2 &&
36 test_expect_success
'rebase changes with the merge backend' '
37 test_when_finished "git rebase --abort || true" &&
38 git checkout -b merge-backend side2 &&
42 test_expect_success
'rebase changes with the merge backend with a delay' '
43 test_when_finished "git rebase --abort || true" &&
44 git checkout -b merge-delay-backend side2 &&
45 git rebase -m --exec "sleep 1" side1