From: Paul Wise Date: Sun, 28 May 2023 02:29:45 +0000 (+0800) Subject: notmuch-mutt: do not clear search cache Maildir when nothing is found X-Git-Tag: 0.38_rc0~21 X-Git-Url: https://git.cworth.org/git?p=notmuch;a=commitdiff_plain;h=18e35950dad8daa485d86e244ffd5d5e6a63d03a notmuch-mutt: do not clear search cache Maildir when nothing is found The previous results might be useful to the user but an empty directory definitely isn't useful. --- diff --git a/contrib/notmuch-mutt/notmuch-mutt b/contrib/notmuch-mutt/notmuch-mutt index 0f7379ac..875fd032 100755 --- a/contrib/notmuch-mutt/notmuch-mutt +++ b/contrib/notmuch-mutt/notmuch-mutt @@ -120,7 +120,6 @@ sub thread_action($$@) { my $mid = get_message_id(); if (! defined $mid) { - empty_search_cache_maildir($results_dir); die "notmuch-mutt: cannot find Message-Id, abort.\n"; }