3 test_description='format-patch -s should force MIME encoding as needed'
7 test_expect_success setup '
11 git commit -m initial &&
15 git commit -m "This adds some lines to F" F
19 test_expect_success 'format normally' '
21 git format-patch --stdout -1 >output &&
22 ! grep Content-Type output
26 test_expect_success 'format with signoff without funny signer name' '
28 git format-patch -s --stdout -1 >output &&
29 ! grep Content-Type output
33 test_expect_success 'format with non ASCII signer name' '
35 GIT_COMMITTER_NAME="
\e$B$O$^$N
\e(B
\e$B$U$K$*$&
\e(B" \
36 git format-patch -s --stdout -1 >output &&
37 grep Content-Type output