summaryrefslogtreecommitdiffstats
path: root/notmuch-dump.c
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2017-06-01 07:54:38 -0300
committerDavid Bremner <david@tethera.net>2017-06-01 07:54:38 -0300
commit1ec634461ea25d87cc16dbeb1318f8e30a07c9f1 (patch)
tree5e76685ca5d91b8e2b444c35f3b67fcbff9e7bb7 /notmuch-dump.c
parent6ac3d8c27f8edc8b3b84440900771053d6efd9dd (diff)
parent2e86a4da55c29e0751d950839cdcbe40234ca8ba (diff)
Merge branch 'release'
Diffstat (limited to 'notmuch-dump.c')
-rw-r--r--notmuch-dump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/notmuch-dump.c b/notmuch-dump.c
index e451ac0c..5cc3b2f6 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;