diff options
author | Đoàn Trần Công Danh <congdanhqx@gmail.com> | 2021-05-10 00:12:13 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-05-10 15:06:22 +0900 |
commit | 59b519ab7e703ebdbad06bd9ba3cae6e55d880d0 (patch) | |
tree | a3d3aa43c7cbc681c60dd9d8a5df4a404b7266c3 /t/t4258 | |
parent | 133a4fda59e7e68be13191082e14be32143bd61b (diff) | |
download | git-59b519ab7e703ebdbad06bd9ba3cae6e55d880d0.tar.gz |
am: learn to process quoted lines that ends with CRLF
In previous changes, mailinfo has learnt to process lines that decoded
from base64 or quoted-printable, and ends with CRLF.
Let's teach "am" that new trick, too.
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 't/t4258')
-rw-r--r-- | t/t4258/mbox | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/t/t4258/mbox b/t/t4258/mbox new file mode 100644 index 0000000000..c62819f3d2 --- /dev/null +++ b/t/t4258/mbox @@ -0,0 +1,12 @@ +From: A U Thor <mail@example.com> +To: list@example.org +Subject: [PATCH v2] sample +Date: Mon, 3 Aug 2020 22:40:55 +0700 +Message-Id: <msg-id@example.com> +Content-Type: text/plain; charset="utf-8" +Content-Transfer-Encoding: base64 + +VGhpcyBpcyBjb21taXQgbWVzc2FnZS4NCi0tLQ0KIHRleHQgfCAyICstDQogMSBmaWxlIGNoYW5n +ZWQsIDEgaW5zZXJ0aW9uKCspLCAxIGRlbGV0aW9uKC0pDQoNCmRpZmYgLS1naXQgYS90ZXh0IGIv +dGV4dA0KaW5kZXggNTYyNmFiZi4uZjcxOWVmZCAxMDA2NDQNCi0tLSBhL3RleHQNCisrKyBiL3Rl +eHQNCkBAIC0xICsxIEBADQotb25lDQordHdvDQotLSANCjIuMzEuMQoK |