git/t/t5100
Jonathan Tan 6b4b013f18 mailinfo: handle in-body header continuations
Mailinfo currently handles multi-line headers, but it does not handle
multi-line in-body headers. Teach it to handle such headers, for
example, for this input:

  From: author <author@example.com>
  Date: Fri, 9 Jun 2006 00:44:16 -0700
  Subject: a very long
   broken line

  Subject: another very long
   broken line

interpret the in-body subject to be "another very long broken line"
instead of "another very long".

An existing test (t/t5100/msg0015) has an indented line immediately
after an in-body header - it has been modified to reflect the new
functionality.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2016-09-21 10:23:11 -07:00
..
.gitattributes Mark files in t/t5100 as UTF-8 2009-10-21 11:27:50 -07:00
0001mboxrd mailsplit: support unescaping mboxrd messages 2016-06-06 11:14:43 -07:00
0002mboxrd mailsplit: support unescaping mboxrd messages 2016-06-06 11:14:43 -07:00
embed-from.expect mailinfo: make ">From" in-body header check more robust 2014-09-16 11:05:46 -07:00
embed-from.in mailinfo: make ">From" in-body header check more robust 2014-09-16 11:05:46 -07:00
empty mailinfo: tests for RFC2047 examples 2009-01-28 16:23:21 -08:00
info-from.expect mailinfo: avoid violating strbuf assertion 2008-08-19 19:36:56 -07:00
info-from.in mailinfo: avoid violating strbuf assertion 2008-08-19 19:36:56 -07:00
info0001 mailinfo: cleanup extra spaces for complex 'From:' 2009-02-01 12:11:15 -08:00
info0002
info0003
info0004
info0005
info0006
info0007
info0008
info0009
info0010
info0011
info0012 Revert "mailinfo: Remove only one set of square brackets" 2009-07-15 15:10:06 -07:00
info0012--message-id git-mailinfo: add --message-id 2014-11-25 15:24:55 -08:00
info0013 mailinfo: add explicit test for mails like '<a.u.thor@example.com> (A U Thor)' 2009-01-28 15:12:24 -08:00
info0014 am/mailinfo: Disable scissors processing by default 2009-08-26 22:22:22 -07:00
info0014--scissors am/mailinfo: Disable scissors processing by default 2009-08-26 22:22:22 -07:00
info0015 git am/mailinfo: Don't look at in-body headers when rebasing 2009-11-20 23:14:02 -08:00
info0015--no-inbody-headers git am/mailinfo: Don't look at in-body headers when rebasing 2009-11-20 23:14:02 -08:00
info0016 git am/mailinfo: Don't look at in-body headers when rebasing 2009-11-20 23:14:02 -08:00
info0016--no-inbody-headers git am/mailinfo: Don't look at in-body headers when rebasing 2009-11-20 23:14:02 -08:00
info0017 mailinfo: do not concatenate charset= attribute values from mime headers 2012-09-17 15:24:52 -07:00
info0018 mailinfo: handle in-body header continuations 2016-09-21 10:23:11 -07:00
info0018--no-inbody-headers mailinfo: handle in-body header continuations 2016-09-21 10:23:11 -07:00
msg0001
msg0002
msg0003
msg0004
msg0005
msg0006
msg0007
msg0008
msg0009
msg0010
msg0011
msg0012 mailinfo: correctly handle multiline 'Subject:' header 2009-01-10 17:54:30 -08:00
msg0012--message-id git-mailinfo: add --message-id 2014-11-25 15:24:55 -08:00
msg0013 mailinfo: add explicit test for mails like '<a.u.thor@example.com> (A U Thor)' 2009-01-28 15:12:24 -08:00
msg0014 am/mailinfo: Disable scissors processing by default 2009-08-26 22:22:22 -07:00
msg0014--scissors am/mailinfo: Disable scissors processing by default 2009-08-26 22:22:22 -07:00
msg0015 mailinfo: handle in-body header continuations 2016-09-21 10:23:11 -07:00
msg0015--no-inbody-headers git am/mailinfo: Don't look at in-body headers when rebasing 2009-11-20 23:14:02 -08:00
msg0016 git am/mailinfo: Don't look at in-body headers when rebasing 2009-11-20 23:14:02 -08:00
msg0016--no-inbody-headers git am/mailinfo: Don't look at in-body headers when rebasing 2009-11-20 23:14:02 -08:00
msg0017 mailinfo: do not concatenate charset= attribute values from mime headers 2012-09-17 15:24:52 -07:00
msg0018 mailinfo: handle in-body header continuations 2016-09-21 10:23:11 -07:00
msg0018--no-inbody-headers mailinfo: handle in-body header continuations 2016-09-21 10:23:11 -07:00
nul-b64.expect
nul-b64.in
nul-plain
patch0001 diff --stat: use less columns for change counts 2012-04-30 14:17:26 -07:00
patch0002 diff --stat: use less columns for change counts 2012-04-30 14:17:26 -07:00
patch0003 diff --stat: use less columns for change counts 2012-04-30 14:17:26 -07:00
patch0004
patch0005 diff --stat: use less columns for change counts 2012-04-30 14:17:26 -07:00
patch0006 diff --stat: use less columns for change counts 2012-04-30 14:17:26 -07:00
patch0007
patch0008
patch0009
patch0010 diff --stat: use less columns for change counts 2012-04-30 14:17:26 -07:00
patch0011 diff --stat: use less columns for change counts 2012-04-30 14:17:26 -07:00
patch0012 mailinfo: correctly handle multiline 'Subject:' header 2009-01-10 17:54:30 -08:00
patch0012--message-id git-mailinfo: add --message-id 2014-11-25 15:24:55 -08:00
patch0013 mailinfo: add explicit test for mails like '<a.u.thor@example.com> (A U Thor)' 2009-01-28 15:12:24 -08:00
patch0014 diff --stat: use less columns for change counts 2012-04-30 14:17:26 -07:00
patch0014--scissors diff --stat: use less columns for change counts 2012-04-30 14:17:26 -07:00
patch0015 git am/mailinfo: Don't look at in-body headers when rebasing 2009-11-20 23:14:02 -08:00
patch0015--no-inbody-headers git am/mailinfo: Don't look at in-body headers when rebasing 2009-11-20 23:14:02 -08:00
patch0016 git am/mailinfo: Don't look at in-body headers when rebasing 2009-11-20 23:14:02 -08:00
patch0016--no-inbody-headers git am/mailinfo: Don't look at in-body headers when rebasing 2009-11-20 23:14:02 -08:00
patch0017 mailinfo: do not concatenate charset= attribute values from mime headers 2012-09-17 15:24:52 -07:00
patch0018 mailinfo: handle in-body header continuations 2016-09-21 10:23:11 -07:00
patch0018--no-inbody-headers mailinfo: handle in-body header continuations 2016-09-21 10:23:11 -07:00
quoted-from.expect mailinfo: make ">From" in-body header check more robust 2014-09-16 11:05:46 -07:00
quoted-from.in mailinfo: make ">From" in-body header check more robust 2014-09-16 11:05:46 -07:00
rfc2047-info-0001 mailinfo: tests for RFC2047 examples 2009-01-28 16:23:21 -08:00
rfc2047-info-0002 mailinfo: tests for RFC2047 examples 2009-01-28 16:23:21 -08:00
rfc2047-info-0003 mailinfo: tests for RFC2047 examples 2009-01-28 16:23:21 -08:00
rfc2047-info-0004 mailinfo: cleanup extra spaces for complex 'From:' 2009-02-01 12:11:15 -08:00
rfc2047-info-0005 mailinfo: tests for RFC2047 examples 2009-01-28 16:23:21 -08:00
rfc2047-info-0006 mailinfo: tests for RFC2047 examples 2009-01-28 16:23:21 -08:00
rfc2047-info-0007 mailinfo: tests for RFC2047 examples 2009-01-28 16:23:21 -08:00
rfc2047-info-0008 mailinfo: tests for RFC2047 examples 2009-01-28 16:23:21 -08:00
rfc2047-info-0009 mailinfo: tests for RFC2047 examples 2009-01-28 16:23:21 -08:00
rfc2047-info-0010 mailinfo: tests for RFC2047 examples 2009-01-28 16:23:21 -08:00
rfc2047-info-0011 mailinfo: tests for RFC2047 examples 2009-01-28 16:23:21 -08:00
rfc2047-samples.mbox t5100: use ancient encoding syntax for backwards compatibility 2009-05-18 20:53:19 -07:00
sample.mbox mailinfo: handle in-body header continuations 2016-09-21 10:23:11 -07:00
sample.mboxrd mailsplit: support unescaping mboxrd messages 2016-06-06 11:14:43 -07:00