summaryrefslogtreecommitdiff
path: root/t/t5100/msg0006
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@linux-foundation.org>2007-02-26 11:10:59 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2007-02-27 01:02:32 -0800
commit34fc5cefa7068492d5103b40dca1b55f69986eb8 (patch)
tree639ff5e39147164456cf232e0d9e92380c35eb2f /t/t5100/msg0006
parentGIT 1.5.0.2 (diff)
downloadtgif-34fc5cefa7068492d5103b40dca1b55f69986eb8.tar.xz
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/msg0006')
-rw-r--r--t/t5100/msg00062
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t5100/msg0006 b/t/t5100/msg0006
new file mode 100644
index 0000000000..b275a9a9b2
--- /dev/null
+++ b/t/t5100/msg0006
@@ -0,0 +1,2 @@
+Here is a patch from A U Thor.
+