]> git.ipfire.org Git - thirdparty/git.git/commit - git-send-email.perl
send-email: add an auto option for transfer encoding
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 8 Jul 2018 22:17:10 +0000 (22:17 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Jul 2018 17:55:12 +0000 (10:55 -0700)
commit7a36987ffffa59052723ed7299c1de25bc18048a
tree0973270e42b7ede4c0bec91fe383b9a09109bb95
parent53f9a3e157dbbc901a02ac2c73346d375e24978c
send-email: add an auto option for transfer encoding

For most patches, using a transfer encoding of 8bit provides good
compatibility with most servers and makes it as easy as possible to view
patches.  However, there are some patches for which 8bit is not a valid
encoding: RFC 5322 specifies that a message must not have lines
exceeding 998 octets.

Add a transfer encoding value, auto, which indicates that a patch should
use 8bit where allowed and quoted-printable otherwise.  Choose
quoted-printable instead of base64, since base64-encoded plain text is
treated as suspicious by some spam filters.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-send-email.txt
git-send-email.perl
t/t9001-send-email.sh