Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/t6425-merge-rename-delete.sh # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / t / t6425-merge-rename-delete.sh` 27 lines ยท 635 bytes Raw Blame History 1 #!/bin/sh 2 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 6 7 . ./test-lib.sh 8 9 test_expect_success 'rename/delete' ' 10 echo foo >A && 11 git add A && 12 git commit -m "initial" && 13 14 git checkout -b rename && 15 git mv A B && 16 git commit -m "rename" && 17 18 git checkout main && 19 git rm A && 20 git commit -m "delete" && 21 22 test_must_fail git merge --strategy=recursive rename >output && 23 test_grep "CONFLICT (rename/delete): A.* renamed .*to B.* in rename" output && 24 test_grep "CONFLICT (rename/delete): A.*deleted in HEAD." output 25 ' 26 27 test_done