]> git.notmuchmail.org Git - notmuch/commit
notmuch-show: identify which messages printed matched the query string
authorBart Trojanowski <bart@jukie.net>
Wed, 25 Nov 2009 04:54:35 +0000 (23:54 -0500)
committerCarl Worth <cworth@cworth.org>
Sat, 28 Nov 2009 01:07:18 +0000 (17:07 -0800)
commitc984fc43cc841b1453a10f92c227466a2c676364
treef34a0bce9a603348559ccff11bb3418e7ef0b4bf
parentbede40987a64b7c2565d771922a3eac0a229ee28
notmuch-show: identify which messages printed matched the query string

The show command outputs all messages in the threads that match the
search-terms.  This patch introduces a 'match:[01]' entry to the 'message{'
line output by the show command.  Value of 1 indicates that the message is
matching the search expression.

Signed-off-by: Bart Trojanowski <bart@jukie.net>
notmuch-show.c