1#!/bin/sh
   2test_description='Merge-recursive rename/delete conflict message'
   4. ./test-lib.sh
   5test_expect_success 'rename/delete' '
   7        echo foo >A &&
   8        git add A &&
   9        git commit -m "initial" &&
  10        git checkout -b rename &&
  12        git mv A B &&
  13        git commit -m "rename" &&
  14        git checkout master &&
  16        git rm A &&
  17        git commit -m "delete" &&
  18        test_must_fail git merge --strategy=recursive rename >output &&
  20        test_i18ngrep "CONFLICT (rename/delete): A deleted in HEAD and renamed to B in rename. Version rename of B left in tree." output
  21'
  22test_done