diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2018-07-08 22:17:11 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-09 10:55:12 -0700 |
commit | f2d06fb13fc93c50067e75768a89db098a3d1809 (patch) | |
tree | f8225193ba4fd3f1a671f126a9dfadfb5adbca7f /Documentation/git-send-email.txt | |
parent | 7a36987ffffa59052723ed7299c1de25bc18048a (diff) | |
download | git-f2d06fb13fc93c50067e75768a89db098a3d1809.tar.gz |
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>
Diffstat (limited to 'Documentation/git-send-email.txt')
-rw-r--r-- | Documentation/git-send-email.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt index 385c7de9e2..0e648075bb 100644 --- a/Documentation/git-send-email.txt +++ b/Documentation/git-send-email.txt @@ -401,8 +401,11 @@ have been specified, in which case default to 'compose'. + -- * Invoke the sendemail-validate hook if present (see linkgit:githooks[5]). - * Warn of patches that contain lines longer than 998 characters; this - is due to SMTP limits as described by http://www.ietf.org/rfc/rfc2821.txt. + * Warn of patches that contain lines longer than + 998 characters unless a suitable transfer encoding + ('auto', 'base64', or 'quoted-printable') is used; + this is due to SMTP limits as described by + http://www.ietf.org/rfc/rfc2821.txt. -- + Default is the value of `sendemail.validate`; if this is not set, |