notmuch new: Restrict the "not much" pun to the first run.

Several people complained that the humor wore thin very quickly.  The
most significant case of "not much mail" is when counting the user's
initial mail collection. We've promised on the web page that no matter
how much mail the user has, notmuch will consider it to be "not much"
so let's say so. (This message was in place very early on, but was
inadvertently dropped at some point.)
This commit is contained in:
Carl Worth 2009-12-14 16:06:37 -08:00
parent 3f406fdefc
commit e1669b155c

View file

@ -485,7 +485,7 @@ notmuch_new_command (void *ctx, int argc, char *argv[])
if (interrupted)
return 1;
printf ("Found %d total files. \n", count);
printf ("Found %d total files (that's not much mail).\n", count);
notmuch = notmuch_database_create (db_path);
add_files_state.ignore_read_only_directories = FALSE;
add_files_state.total_files = count;
@ -525,12 +525,12 @@ notmuch_new_command (void *ctx, int argc, char *argv[])
}
}
if (add_files_state.added_messages) {
printf ("Added %d new %s to the database (not much, really).\n",
printf ("Added %d new %s to the database.\n",
add_files_state.added_messages,
add_files_state.added_messages == 1 ?
"message" : "messages");
} else {
printf ("No new mail---and that's not much.\n");
printf ("No new mail.\n");
}
if (elapsed > 1 && ! add_files_state.saw_read_only_directory) {