summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4839c0b)
raw | patch | inline | side by side (parent: 4839c0b)
author | Eric W. Biederman <ebiederm@xmission.com> | |
Mon, 12 Jun 2006 19:48:35 +0000 (13:48 -0600) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 17 Jun 2006 23:27:12 +0000 (16:27 -0700) |
It was pointed out that the current behaviour might mispart a patch comment
so remove this behaviour for now.
[jc: this fixes "From: line in the middle" check in t5100 test.]
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
so remove this behaviour for now.
[jc: this fixes "From: line in the middle" check in t5100 test.]
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
mailinfo.c | patch | blob | history |
diff --git a/mailinfo.c b/mailinfo.c
index 5b6c2157ede415e019099098f2d0dc522b1e7a27..0ccd490082455590f11e44cda5ce199dd56b9ed9 100644 (file)
--- a/mailinfo.c
+++ b/mailinfo.c
/* First lines of body can have From:, Date:, and Subject: */
static void handle_inbody_header(int *seen, char *line)
{
+ if (*seen & SEEN_PREFIX)
+ return;
if (!memcmp(">From", line, 5) && isspace(line[5])) {
if (!(*seen & SEEN_BOGUS_UNIX_FROM)) {
*seen |= SEEN_BOGUS_UNIX_FROM;