notmuch_message_tags_to_maildir_flags: Do nothing outside of "new" and "cur"
authorCarl Worth <cworth@cworth.org>
Thu, 11 Nov 2010 22:32:17 +0000 (14:32 -0800)
committerCarl Worth <cworth@cworth.org>
Thu, 11 Nov 2010 22:32:17 +0000 (14:32 -0800)
commit95dd5fe5d7e9cd8169a6e3174ea27376acd92870
tree086a08792cea3817755584a4dc3cae91851639f8
parent1ea0b8bfe164a0f7a3e750236b8aef9b5ab8917e
notmuch_message_tags_to_maildir_flags: Do nothing outside of "new" and "cur"

Some people use notmuch with non-maildir files, (for example, email
messages in MH format, or else cool things like using sluk[*] to suck
down feeds into a format that notmuch can index).

To better support uses like that, don't do any renaming for files that
are not in a directory named either "new" or "cur".

[*] https://github.com/krl/sluk/
lib/message.cc
lib/notmuch-private.h
lib/notmuch.h
test/maildir-sync