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