Re: [PATCH 2/2] cli: reset db directory mtime upon directory removal
authorDavid Bremner <david@tethera.net>
Mon, 7 Sep 2015 12:51:04 +0000 (09:51 +2100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:49:32 +0000 (14:49 -0700)
41/8755f4838fa0813daba9c3856fa2e88ebde4cb [new file with mode: 0644]

diff --git a/41/8755f4838fa0813daba9c3856fa2e88ebde4cb b/41/8755f4838fa0813daba9c3856fa2e88ebde4cb
new file mode 100644 (file)
index 0000000..7fbd4c7
--- /dev/null
@@ -0,0 +1,68 @@
+Return-Path: <david@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 CC4106DE1760\r
+ for <notmuch@notmuchmail.org>; Mon,  7 Sep 2015 05:51:11 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 2.68\r
+X-Spam-Level: **\r
+X-Spam-Status: No, score=2.68 tagged_above=-999 required=5 tests=[AWL=-1.010, \r
+ RCVD_IN_BRBL_LASTEXT=1.644, RCVD_IN_SBL=2.596,\r
+ RP_MATCHES_RCVD=-0.55] 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 wh845uUz9lop for <notmuch@notmuchmail.org>;\r
+ Mon,  7 Sep 2015 05:51:10 -0700 (PDT)\r
+X-Greylist: delayed 317 seconds by postgrey-1.35 at arlo;\r
+ Mon, 07 Sep 2015 05:51:09 PDT\r
+Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id DDB086DE1734\r
+ for <notmuch@notmuchmail.org>; Mon,  7 Sep 2015 05:51:09 -0700 (PDT)\r
+Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1ZYvt5-0002mF-Il; Mon, 07 Sep 2015 09:51:07 -0300\r
+Received: (nullmailer pid 23745 invoked by uid 1000); Mon, 07 Sep 2015\r
+ 12:51:04 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Jani Nikula <jani@nikula.org>, Mark Walters <markwalters1009@gmail.com>,\r
+ notmuch@notmuchmail.org\r
+Subject: Re: [PATCH 2/2] cli: reset db directory mtime upon directory removal\r
+In-Reply-To: <1441445731-4362-2-git-send-email-jani@nikula.org>\r
+References: <87siray6th.fsf@qmul.ac.uk>\r
+ <1441445731-4362-1-git-send-email-jani@nikula.org>\r
+ <1441445731-4362-2-git-send-email-jani@nikula.org>\r
+User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Mon, 07 Sep 2015 09:51:04 -0300\r
+Message-ID: <87egiaz93b.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\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 12:51:11 -0000\r
+\r
+Jani Nikula <jani@nikula.org> writes:\r
+\r
+> The library does not have a function to remove a directory document\r
+> for a path. Usually this doesn't matter except for a slight waste of\r
+> space. However, if the same directory gets added to the filesystem\r
+> again, the old directory document is found with the old mtime. Reset\r
+> the directory mtime on removal to avoid problems.\r
+>\r
+\r
+\r
+pushed to master.\r
+\r
+d\r