X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=notmuch-new.c;h=4a53e3ebcc064cc531b8cb6255c422ff35938b30;hb=refs%2Fheads%2Fnmweb;hp=346e64697aaf02763a38eb09e93ef428348aae4a;hpb=6472dbf4b7fdec3bd59d7622ef477a035e34c67a;p=notmuch diff --git a/notmuch-new.c b/notmuch-new.c index 346e6469..4a53e3eb 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -413,6 +413,10 @@ add_file (notmuch_database_t *notmuch, const char *filename, case NOTMUCH_STATUS_FILE_NOT_EMAIL: fprintf (stderr, "Note: Ignoring non-mail file: %s\n", filename); break; + case NOTMUCH_STATUS_PATH_ERROR: + fprintf (stderr, "Note: Ignoring non-indexable path: %s\n", filename); + (void) print_status_database ("add_file", notmuch, status); + break; case NOTMUCH_STATUS_FILE_ERROR: /* Someone renamed/removed the file between scandir and now. */ state->vanished_files++;