From: Carl Worth Date: Tue, 15 Dec 2009 00:06:37 +0000 (-0800) Subject: notmuch new: Restrict the "not much" pun to the first run. X-Git-Tag: 0.1~204 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=e1669b155c89fb7f140c64d36bf25c246d024ab8 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.) --- diff --git a/notmuch-new.c b/notmuch-new.c index 9d206167..501f04c9 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -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) {