Re: [RFC 3/5] cli: support shell globbing patterns in new.ignore

2017-03-11 Thread David Bremner
Jani Nikula writes: > Keep the existing strcmp on the basename for backwards compatibility, > and additionally use the new.ignore entries as fnmatch(3) patterns on > the absolute filename. Note that it's not enough to add e.g. "foo*bar" > to the list; you will need to do

Re: [RFC 3/5] cli: support shell globbing patterns in new.ignore

2016-04-09 Thread David Bremner
Jani Nikula writes: > Keep the existing strcmp on the basename for backwards compatibility, > and additionally use the new.ignore entries as fnmatch(3) patterns on > the absolute filename. Note that it's not enough to add e.g. "foo*bar" > to the list; you will need to do

[RFC 3/5] cli: support shell globbing patterns in new.ignore

2015-11-03 Thread Jani Nikula
Keep the existing strcmp on the basename for backwards compatibility, and additionally use the new.ignore entries as fnmatch(3) patterns on the absolute filename. Note that it's not enough to add e.g. "foo*bar" to the list; you will need to do "*/foo*bar" to match the path also. --- notmuch-new.c