From: Jeff King Date: Tue, 20 Nov 2007 12:54:04 +0000 (-0500) Subject: send-email: add transfer encoding header with content-type X-Git-Tag: v1.5.3.7~19 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/8641ee3dcbae749c42b7cf117ba3050e2cb95a93 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: Jeff King Signed-off-by: Junio C Hamano --- diff --git a/git-send-email.perl b/git-send-email.perl index 2b1f1b598c..b03297c9d7 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -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'; } } }