X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-dump.c;fp=notmuch-dump.c;h=f0ac193241191da7dbcd64e53f4db71cbf4a2764;hp=0bb946f8f3378babd16d261d2e1106e068150db5;hb=11fda0bf2fd74b227d15a2bb6b36a8ce6403c8e9;hpb=e68022416d543e50d7cd4eaad218bddd90fdb805 diff --git a/notmuch-dump.c b/notmuch-dump.c index 0bb946f8..f0ac1932 100644 --- a/notmuch-dump.c +++ b/notmuch-dump.c @@ -250,7 +250,8 @@ database_dump_file (notmuch_database_t *notmuch, gzFile output, message = notmuch_messages_get (messages); - if (dump_tags_message (notmuch, message, output_format, output, + if ((include & DUMP_INCLUDE_TAGS) && + dump_tags_message (notmuch, message, output_format, output, &buffer, &buffer_size)) return EXIT_FAILURE;