]> git.notmuchmail.org Git - notmuch/commitdiff
notmuch new: Restrict the "not much" pun to the first run.
authorCarl Worth <cworth@cworth.org>
Tue, 15 Dec 2009 00:06:37 +0000 (16:06 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 6 Jan 2010 18:32:05 +0000 (10:32 -0800)
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.)

notmuch-new.c

index 9d206167e997382d623934ce4dd1797751b2e950..501f04c967f996123981827ec4421d92db2566df 100644 (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) {