Commit 8641ee3d authored by Jeff King's avatar Jeff King Committed by Junio C Hamano

send-email: add transfer encoding header with content-type

We add the content-type header only when we have non-7bit
characters from the 'From' header, so we really need to
specify the encoding (in other cases, where the commit text
needed a content-type, git-format-patch will already have
added the encoding header).
Signed-off-by: default avatarJeff King <[email protected]>
Signed-off-by: default avatarJunio C Hamano <[email protected]>
parent 97e92e2c
......@@ -711,7 +711,8 @@ sub send_message
else {
push @xh,
'MIME-Version: 1.0',
"Content-Type: text/plain; charset=$author_encoding";
"Content-Type: text/plain; charset=$author_encoding",
'Content-Transfer-Encoding: 8bit';
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment