[RFC 0/5] globbing on new.ignore etc.

Jani Nikula jani at nikula.org
Tue Nov 3 11:49:28 PST 2015


This series adds globbing support to new.ignore using fnmatch(3). Just
an RFC for starters because it's missing tests and man pages
etc. There's some cleanup patches first, and then 'notmuch config
append' command to make it easier to add new ignores to the list.

BR,
Jani.


Jani Nikula (5):
  cli: fix function name in notmuch new debug logging
  cli: don't call _entry_in_ignore_list twice in count files debug
  cli: support shell globbing patterns in new.ignore
  cli: add notmuch config append command to append to string list
    configs
  cli: print number of ignored non-mails encountered in notmuch new scan

 notmuch-config.c | 47 +++++++++++++++++++++++++++++++++++++
 notmuch-new.c    | 71 ++++++++++++++++++++++++++++++++++++++------------------
 test/T050-new.sh | 40 +++++++++++++++----------------
 3 files changed, 115 insertions(+), 43 deletions(-)

-- 
2.1.4



More information about the notmuch mailing list