3 test_description
='git merge
5 Testing merge when using a custom message for the merge commit.'
10 echo >exp.subject
"custom message"
13 test_expect_success
'setup' '
22 git reset --hard c0 &&
31 test_expect_success
'merge c2 with a custom message' '
32 git reset --hard c1 &&
33 git merge -m "$(cat exp.subject)" c2 &&
34 git cat-file commit HEAD | sed -e "1,/^$/d" >actual &&
35 test_cmp exp.subject actual