From: Carl Worth Date: Wed, 14 Oct 2009 14:24:28 +0000 (-0700) Subject: notmuch-index-message: Ignore more signature patterns. X-Git-Tag: 0.1~877 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=09f765ce186e81bd9eae85910d0444000fd26277 notmuch-index-message: Ignore more signature patterns. Getting more sup-compatible all the time. --- diff --git a/notmuch-index-message.cc b/notmuch-index-message.cc index a0faf442..561cb3a4 100644 --- a/notmuch-index-message.cc +++ b/notmuch-index-message.cc @@ -310,7 +310,9 @@ gen_terms_body (Xapian::TermGenerator term_gen, /* Skip signatures */ /* XXX: Should only do this if "near" the end of the message. */ - if (strncmp (body_line, "-- ", 3) == 0) + if (strncmp (body_line, "-- ", 3) == 0 || + strncmp (body_line, "----------", 10) == 0 || + strncmp (body_line, "__________", 10) == 0) break; gen_terms (term_gen, "body", body_line);