send-email: accept long lines with suitable transfer encoding
commitf2d06fb13fc93c50067e75768a89db098a3d1809
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 8 Jul 2018 22:17:11 +0000 (8 22:17 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Jul 2018 17:55:12 +0000 (9 10:55 -0700)
treef8225193ba4fd3f1a671f126a9dfadfb5adbca7f
parent7a36987ffffa59052723ed7299c1de25bc18048a
send-email: accept long lines with suitable transfer encoding

With --validate (which is the default), we warn about lines exceeding
998 characters due to the limits specified in RFC 5322.  However, if
we're using a suitable transfer encoding (quoted-printable or base64),
we're guaranteed not to have lines exceeding 76 characters, so there's
no need to fail in this case.  The auto transfer encoding handles this
specific case, so accept it as well.

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