diff options
author | Đoàn Trần Công Danh <congdanhqx@gmail.com> | 2021-05-09 20:12:12 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-05-10 09:06:22 +0300 |
commit | 133a4fda59e7e68be13191082e14be32143bd61b (patch) | |
tree | 510662f4c6f5a4aec511b2eaf96cbb0438821055 /mailinfo.h | |
parent | f1aa29944320e51441e5b5e32591e69f2fa74de2 (diff) |
mailinfo: allow stripping quoted CR without warning
In previous changes, we've turned on warning for quoted CR in base64 or
quoted-printable email messages. Some projects see those quoted CR a lot,
they know that it happens most of the time, and they find it's desirable
to always strip those CR.
Those projects in question usually fall back to use other tools to handle
patches when receive such patches.
Let's help those projects handle those patches by stripping those
excessive CR.
Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'mailinfo.h')
-rw-r--r-- | mailinfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mailinfo.h b/mailinfo.h index 768d06ac2a..2ddf8be90f 100644 --- a/mailinfo.h +++ b/mailinfo.h @@ -8,6 +8,7 @@ enum quoted_cr_action { quoted_cr_nowarn, quoted_cr_warn, + quoted_cr_strip, }; struct mailinfo { |