X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-new.c;h=1b0558486b400b74609c811d7eb8188ebe17700a;hp=8b3195984680fd948b1bae764ff1cf6068db9f83;hb=52292c548512214fd3dd205edb4ca9cf7955f2b3;hpb=fca070f8ce72ac424a6494d9cf2763852f8b219c diff --git a/notmuch-new.c b/notmuch-new.c index 8b319598..1b055848 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -407,6 +407,7 @@ notmuch_new_command (void *ctx, if (interrupted) return 1; + printf ("Found %d total files. \n", count); notmuch = notmuch_database_create (db_path); add_files_state.ignore_read_only_directories = FALSE; add_files_state.total_files = count; @@ -423,7 +424,6 @@ notmuch_new_command (void *ctx, dot_notmuch_path = NULL; add_files_state.saw_read_only_directory = FALSE; - add_files_state.total_files = 0; add_files_state.processed_files = 0; add_files_state.added_messages = 0; gettimeofday (&add_files_state.tv_start, NULL);