X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-new.c;h=e32b92a51de1b8c0c9bd7797edc84229e8424ff5;hp=8172b498a3fbd43870367171dccea3a6542c45af;hb=f667bad7a5530b3a53caa191d14b9f41781750cc;hpb=bc0a873b18cd77572c53369e5899134102f93e5e;ds=sidebyside diff --git a/notmuch-new.c b/notmuch-new.c index 8172b498..e32b92a5 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -159,6 +159,7 @@ add_files_recursive (notmuch_database_t *notmuch, * user specify files to be ignored. */ if (strcmp (entry->d_name, ".") == 0 || strcmp (entry->d_name, "..") == 0 || + strcmp (entry->d_name, "tmp") == 0 || strcmp (entry->d_name, ".notmuch") ==0) { continue;