diff options
author | Carl Worth <cworth@cworth.org> | 2010-04-15 09:15:10 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-04-15 14:54:40 -0700 |
commit | c48dcc302c5509452e5364a8aebdfa03f33a6857 (patch) | |
tree | 87752befe3e34c5d3e49c2a1a94ff414ed938955 /Makefile.local | |
parent | f0050f6dd2de064a650a8d89f7031f0bef9c2667 (diff) |
lib: search_threads: Fix nested search to handle original search of "*"
When constructing a thread, we usually run a nested query to find all
messages in the thread that match the original search string. However,
we need to have special-case handling of an original search string of
"*" now that that is a supported means of specifying all messages.
The special-case ends up bein quite simple---we do less work, (just
skipping the nested search since we know that all messages must
match). I had been wanting to write this identical code to more
efficiently handle "notmuch search thread:<foo>" which was previously
running two identical searches. So that case is now more efficient as
well.
Diffstat (limited to 'Makefile.local')
0 files changed, 0 insertions, 0 deletions