diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2007-02-26 11:10:59 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-02-27 01:02:32 -0800 |
commit | 34fc5cefa7068492d5103b40dca1b55f69986eb8 (patch) | |
tree | 639ff5e39147164456cf232e0d9e92380c35eb2f /t/t5100/info0006 | |
parent | 0d9b9ab1284ce125fd49cf7dbf4d28e0540cf035 (diff) | |
download | git-34fc5cefa7068492d5103b40dca1b55f69986eb8.tar.gz |
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>
Diffstat (limited to 't/t5100/info0006')
-rw-r--r-- | t/t5100/info0006 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t5100/info0006 b/t/t5100/info0006 new file mode 100644 index 0000000000..8c052777e0 --- /dev/null +++ b/t/t5100/info0006 @@ -0,0 +1,5 @@ +Author: A U Thor +Email: a.u.thor@example.com +Subject: a commit. +Date: Fri, 9 Jun 2006 00:44:16 -0700 + |