[PATCH 1/2] cli/count: remove unused argument handling for output=modifications
authorDavid Bremner <david@tethera.net>
Mon, 7 Sep 2015 13:33:37 +0000 (10:33 +2100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:49:33 +0000 (14:49 -0700)
89/e479c8bd75464f12fab6944e5b1c123b7fe1f4 [new file with mode: 0644]

diff --git a/89/e479c8bd75464f12fab6944e5b1c123b7fe1f4 b/89/e479c8bd75464f12fab6944e5b1c123b7fe1f4
new file mode 100644 (file)
index 0000000..afbc15a
--- /dev/null
@@ -0,0 +1,75 @@
+Return-Path: <bremner@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id B61776DE1401\r
+ for <notmuch@notmuchmail.org>; Mon,  7 Sep 2015 06:33:52 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 2.729\r
+X-Spam-Level: **\r
+X-Spam-Status: No, score=2.729 tagged_above=-999 required=5 tests=[AWL=-0.961,\r
+  RCVD_IN_BRBL_LASTEXT=1.644, RCVD_IN_SBL=2.596, RP_MATCHES_RCVD=-0.55]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id j2u8IMOgShAk for <notmuch@notmuchmail.org>;\r
+ Mon,  7 Sep 2015 06:33:51 -0700 (PDT)\r
+Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 0F0AA6DE13FB\r
+ for <notmuch@notmuchmail.org>; Mon,  7 Sep 2015 06:33:51 -0700 (PDT)\r
+Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
+ (envelope-from <bremner@tethera.net>)\r
+ id 1ZYwYQ-0002wC-4B; Mon, 07 Sep 2015 10:33:50 -0300\r
+Received: (nullmailer pid 22524 invoked by uid 1000); Mon, 07 Sep 2015\r
+ 13:33:46 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 1/2] cli/count: remove unused argument handling for\r
+ output=modifications\r
+Date: Mon,  7 Sep 2015 10:33:37 -0300\r
+Message-Id: <1441632818-22483-1-git-send-email-david@tethera.net>\r
+X-Mailer: git-send-email 2.5.1\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 07 Sep 2015 13:33:52 -0000\r
+\r
+In the end this UI was rejected, but bits of it stayed in the code to\r
+confuse future generations.\r
+---\r
+ notmuch-count.c | 2 --\r
+ 1 file changed, 2 deletions(-)\r
+\r
+diff --git a/notmuch-count.c b/notmuch-count.c\r
+index f26e726..66f5e53 100644\r
+--- a/notmuch-count.c\r
++++ b/notmuch-count.c\r
+@@ -25,7 +25,6 @@ enum {\r
+     OUTPUT_THREADS,\r
+     OUTPUT_MESSAGES,\r
+     OUTPUT_FILES,\r
+-    OUTPUT_LASTMOD,\r
+ };\r
\r
+ /* The following is to allow future options to be added more easily */\r
+@@ -151,7 +150,6 @@ notmuch_count_command (notmuch_config_t *config, int argc, char *argv[])\r
+         (notmuch_keyword_t []){ { "threads", OUTPUT_THREADS },\r
+                                 { "messages", OUTPUT_MESSAGES },\r
+                                 { "files", OUTPUT_FILES },\r
+-                                { "modifications", OUTPUT_LASTMOD },\r
+                                 { 0, 0 } } },\r
+       { NOTMUCH_OPT_KEYWORD, &exclude, "exclude", 'x',\r
+         (notmuch_keyword_t []){ { "true", EXCLUDE_TRUE },\r
+-- \r
+2.5.1\r
+\r