[PATCH 0/6] cli: support regex in new.ignore

Subject: [PATCH 0/6] cli: support regex in new.ignore

Date: Fri, 1 Sep 2017 18:53:05 +0300

To: notmuch@notmuchmail.org

Cc:

From: Jani Nikula


I dusted off some of my old patches to add support for /regex/ in
new.ignore. Regex instead of globbing because we now have prefix
searches with regex, so this is perhaps more in line. Some cleanups for
starters.

BR,
Jani.


Jani Nikula (6):
  cli/new: use the same style for fs entry loops
  cli/new: abstract special directory check
  cli/new: check for special directories earlier in pass 1
  cli/new: ignore special directories also in pass 2
  cli/new: support /<regex>/ in new.ignore
  test: test regexp based new.ignore

 doc/man1/notmuch-config.rst |  20 ++++--
 notmuch-new.c               | 144 ++++++++++++++++++++++++++++++++++++--------
 test/T050-new.sh            |  22 +++++++
 3 files changed, 155 insertions(+), 31 deletions(-)

-- 
2.11.0

_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: