tags_to_maildir_flags: Fix to preserve existing, unsupported flags
authorCarl Worth <cworth@cworth.org>
Fri, 12 Nov 2010 00:36:02 +0000 (16:36 -0800)
committerCarl Worth <cworth@cworth.org>
Fri, 12 Nov 2010 00:36:02 +0000 (16:36 -0800)
commit96d99c383785dec67443ff1b45e2d2f8437398fa
tree33d551f9fccacea136d2ffa33d38834c32806522
parent95dd5fe5d7e9cd8169a6e3174ea27376acd92870
tags_to_maildir_flags: Fix to preserve existing, unsupported flags

This is to prevent notmuch from destroying any information the user
has encoded as flags in the maildir filename. Tests are also added to
the test suite to verify the documented behavior.
lib/message.cc
lib/notmuch.h
test/maildir-sync