X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft5100%2Fsample.mbox;h=4bf7947b418963e9b15e393fc738e515b3d2141d;hb=5fc3e67ac0241c491dcf1c0c9dcd4a4d83e7c243;hp=aba57f922b33b6ab708afbbf82c7e56f6e37bb8d;hpb=c158cae110c917372efe9ff2f080ea0357b05879;p=git.git diff --git a/t/t5100/sample.mbox b/t/t5100/sample.mbox index aba57f922..4bf7947b4 100644 --- a/t/t5100/sample.mbox +++ b/t/t5100/sample.mbox @@ -465,3 +465,39 @@ index 962aa34..2d1520f 100644 -- 1.5.6.2.455.g1efb2 +From nobody Fri Aug 8 22:24:03 2008 +Date: Fri, 8 Aug 2008 13:08:37 +0200 (CEST) +From: A U Thor +Subject: [PATCH 3/3 v2] Xyzzy +MIME-Version: 1.0 +Content-Type: multipart/mixed; boundary="=-=-=" + +--=-=-= +Content-Type: text/plain; charset=iso-8859-15 +Content-Transfer-Encoding: quoted-printable + +Here comes a commit log message, and +its second line is here. +--- + builtin-mailinfo.c | 4 ++-- + +diff --git a/builtin-mailinfo.c b/builtin-mailinfo.c +index 3e5fe51..aabfe5c 100644 +--- a/builtin-mailinfo.c ++++ b/builtin-mailinfo.c +@@ -758,8 +758,8 @@ static void handle_body(void) + /* process any boundary lines */ + if (*content_top && is_multipart_boundary(&line)) { + /* flush any leftover */ +- if (line.len) +- handle_filter(&line); ++ if (prev.len) ++ handle_filter(&prev); +=20 + if (!handle_boundary()) + goto handle_body_out; +--=20 +1.6.0.rc2 + +--=-=-=-- +