3 test_description
='merging with submodules'
17 test_expect_success setup
'
22 echo original > file &&
25 git commit -m sub-root) &&
30 git checkout -b a master &&
35 git commit -m sub-a) &&
40 git checkout -b b master &&
45 git commit -m sub-b) &&
50 git checkout -b c a &&
51 git merge -s ours b &&
53 git checkout -b d b &&
57 test_expect_failure
'merging with modify/modify conflict' '
59 git checkout -b test1 a &&
60 test_must_fail git merge b &&
61 test -f .git/MERGE_MSG &&
66 test_expect_failure
'merging with a modify/modify conflict between merge bases' '
68 git reset --hard HEAD &&
69 git checkout -b test2 c &&