Quoting Junio C Hamano <gitster@xxxxxxxxx> > Having said that, I could use something like this. > > -- >8 -- cut here -- >8 -- > Subject: [PATCH] Teach mailinfo to ignore everything before -- >8 -- mark > > This teaches mailinfo the scissors -- >8 -- mark; the command ignores > everything before it in the message body. > > Signed-off-by: Junio C Hamano <gitster@xxxxxxxxx> There are left handed people whose scissors run in the wrong direction. diff --git a/builtin-mailinfo.c b/builtin-mailinfo.c index b0906ef..38c01e4 100644 --- a/builtin-mailinfo.c +++ b/builtin-mailinfo.c @@ -725,7 +725,8 @@ static int scissors(const struct strbuf *line) scissors_dashes_seen |= 02; continue; } - if (i + 1 < len && !memcmp(buf + i, ">8", 2)) { + if (i + 1 < len && + !memcmp(buf + i, ">8", 2) || !memcmp(buf + i, "8<", 2)) { scissors_dashes_seen |= 01; i++; continue; -- Nanako Shiraishi http://ivory.ap.teacup.com/nanako3/ -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html