3 test_description='git merge
5 Testing merge when using a custom message for the merge commit.'
9 test_expect_success 'setup' '
18 git reset --hard c0 &&
26 test_expect_success 'merge c2 with a custom message' '
27 git reset --hard c1 &&
28 echo >expected "custom message" &&
29 git merge -m "custom message" c2 &&
30 git cat-file commit HEAD | sed -e "1,/^$/d" >actual &&
31 test_cmp expected actual