]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-count.c
Merge tag '0.12_rc2'
[notmuch] / notmuch-count.c
index 53645070080bba3e93356cf277fd926673e658f9..46b76ae1d13b9340da505ff2b8471112f50d6c87 100644 (file)
@@ -88,6 +88,8 @@ notmuch_count_command (void *ctx, int argc, char *argv[])
            notmuch_query_add_tag_exclude (query, search_exclude_tags[i]);
     }
 
+    notmuch_query_set_omit_excluded_messages (query, TRUE);
+
     switch (output) {
     case OUTPUT_MESSAGES:
        printf ("%u\n", notmuch_query_count_messages (query));