git-commit-vandalism/t/t5100
Linus Torvalds 34fc5cefa7 mailinfo: do not get confused with logical lines that are too long.
It basically considers all the continuation lines to be lines of their
own, and if the total line is bigger than what we can fit in it, we just
truncate the result rather than stop in the middle and then get confused
when we try to parse the "next" line (which is just the remainder of the
first line).

[jc: added test, and tightened boundary a bit per list discussion.]

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
2007-02-27 01:02:32 -08:00
..
info0001 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
info0002 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
info0003 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
info0004 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
info0005 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
info0006 mailinfo: do not get confused with logical lines that are too long. 2007-02-27 01:02:32 -08:00
msg0001 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
msg0002 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
msg0003 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
msg0004 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
msg0005 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
msg0006 mailinfo: do not get confused with logical lines that are too long. 2007-02-27 01:02:32 -08:00
patch0001 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
patch0002 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
patch0003 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
patch0004 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
patch0005 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
patch0006 mailinfo: do not get confused with logical lines that are too long. 2007-02-27 01:02:32 -08:00
sample.mbox mailinfo: do not get confused with logical lines that are too long. 2007-02-27 01:02:32 -08:00