3 test_description
='format-patch mime headers and extra headers do not conflict'
6 test_expect_success
'create commit with utf-8 body' '
16 test_expect_success
'patch has mime headers' '
17 rm -f 0001-two.patch &&
18 git format-patch HEAD^ &&
19 grep -i "content-type: text/plain; charset=utf-8" 0001-two.patch
22 test_expect_success
'patch has mime and extra headers' '
23 rm -f 0001-two.patch &&
24 git config format.headers "x-foo: bar" &&
25 git format-patch HEAD^ &&
26 grep -i "x-foo: bar" 0001-two.patch &&
27 grep -i "content-type: text/plain; charset=utf-8" 0001-two.patch