diff options
author | Eric Wong <e@80x24.org> | 2016-06-05 04:46:40 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-06-06 18:14:43 (GMT) |
commit | c88098d7f19c6322fbd911bb89e2efd246bf75c4 (patch) | |
tree | 99fce8afe1374149c63f69c6185d7cdbdd958952 /t/t5100/sample.mboxrd | |
parent | 9f23e040615857e3909db51a5420f338c9831b5a (diff) | |
download | git-c88098d7f19c6322fbd911bb89e2efd246bf75c4.zip git-c88098d7f19c6322fbd911bb89e2efd246bf75c4.tar.gz git-c88098d7f19c6322fbd911bb89e2efd246bf75c4.tar.bz2 |
mailsplit: support unescaping mboxrd messages
This will allow us to parse the output of --pretty=mboxrd
and the output of other mboxrd generators.
Signed-off-by: Eric Wong <e@80x24.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100/sample.mboxrd')
-rw-r--r-- | t/t5100/sample.mboxrd | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/t/t5100/sample.mboxrd b/t/t5100/sample.mboxrd new file mode 100644 index 0000000..79ad5ae --- /dev/null +++ b/t/t5100/sample.mboxrd @@ -0,0 +1,19 @@ +From mboxrd Mon Sep 17 00:00:00 2001 +From: mboxrd writer <mboxrd@example.com> +Date: Fri, 9 Jun 2006 00:44:16 -0700 +Subject: [PATCH] a commit with escaped From lines + +>From the beginning, mbox should have been mboxrd +>>From escaped +From not mangled but this line should have been escaped + +From mboxrd Mon Sep 17 00:00:00 2001 +From: mboxrd writer <mboxrd@example.com> +Date: Fri, 9 Jun 2006 00:44:16 -0700 +Subject: [PATCH 2/2] another with fake From lines + + >From unchanged + From also unchanged +no trailing space, no escaping necessary and '>' was intended: +>From + |