3 test_description
='Merge-recursive rename/delete conflict message'
4 GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
=main
5 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
9 test_expect_success
'rename/delete' '
12 git commit -m "initial" &&
14 git checkout -b rename &&
16 git commit -m "rename" &&
20 git commit -m "delete" &&
22 test_must_fail git merge --strategy=recursive rename >output &&
23 test_i18ngrep "CONFLICT (rename/delete): A.* renamed .*to B.* in rename" output &&
24 test_i18ngrep "CONFLICT (rename/delete): A.*deleted in HEAD." output