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