projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0da89a
)
notmuch-index-message: Ignore more signature patterns.
author
Carl Worth
<cworth@cworth.org>
Wed, 14 Oct 2009 14:24:28 +0000
(07:24 -0700)
committer
Carl Worth
<cworth@cworth.org>
Wed, 14 Oct 2009 14:24:28 +0000
(07:24 -0700)
Getting more sup-compatible all the time.
notmuch-index-message.cc
patch
|
blob
|
history
diff --git
a/notmuch-index-message.cc
b/notmuch-index-message.cc
index a0faf442dbf9ef1c04910046e3560c90df50f7a8..561cb3a47278212e19fdacd6748953eb27e2570a 100644
(file)
--- 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);