[PATCH 4/4] NEWS: news for notmuch_directory_delete
authorJani Nikula <jani@nikula.org>
Sat, 17 Oct 2015 13:06:53 +0000 (16:06 +0300)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:49:45 +0000 (14:49 -0700)
d3/0ab2ca2a8791cd9cb41f71bd233cdde06186e9 [new file with mode: 0644]

diff --git a/d3/0ab2ca2a8791cd9cb41f71bd233cdde06186e9 b/d3/0ab2ca2a8791cd9cb41f71bd233cdde06186e9
new file mode 100644 (file)
index 0000000..037f30f
--- /dev/null
@@ -0,0 +1,96 @@
+Return-Path: <jani@nikula.org>\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 2E1846DE0C3A\r
+ for <notmuch@notmuchmail.org>; Sat, 17 Oct 2015 06:07:36 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.529\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.529 tagged_above=-999 required=5 tests=[AWL=0.191,\r
+  RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01]\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 T4yG9k9JQ21t for <notmuch@notmuchmail.org>;\r
+ Sat, 17 Oct 2015 06:07:34 -0700 (PDT)\r
+Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com\r
+ [209.85.212.179])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 885E16DE0C42\r
+ for <notmuch@notmuchmail.org>; Sat, 17 Oct 2015 06:07:27 -0700 (PDT)\r
+Received: by wicll6 with SMTP id ll6so41637260wic.0\r
+ for <notmuch@notmuchmail.org>; Sat, 17 Oct 2015 06:07:26 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\r
+ :references;\r
+ bh=bI1nwCPdk+mDpycRax09/75Uua4qiPjn+Y4EnsAuqp4=;\r
+ b=fAoJWP4itWCxDTzkMuBzRHKKLu4PUag6brGGqlBq4PEuijTNBAyAkdJ+BBvIhvraRB\r
+ fc/HrxhcRcPGYmD9f7FSIeJlk7PP+7VWk2EYq7u4WPCY5CzHG5bwg2ZqE986UiB0kadz\r
+ n2cs/UI7y7rozePwLj2SlQXArIv9+uVrLwIDxX2p6tu4yMv0icFarVTmGwqOzXcz7SFB\r
+ nu5clhuWJtAhRK78JLLyve6i7sAl4txAAuetm3brYCsZ3sDwaArYfriG+NBRygyqv5tB\r
+ 8gzYpDPP1viJEI8Kkmjoa2GfS/ZtXZjoeUE0VbjHJSDWTV7xyBW027zEiNqtS7/kF5CG\r
+ rmfg==\r
+X-Gm-Message-State:\r
+ ALoCoQn+9ebWY2R+Kcz6MBUhG8/sXf5VbcMi5ylKanW5qoA1qvcdUtRHgZojTw2k4rhvsZpYfhRz\r
+X-Received: by 10.195.11.72 with SMTP id eg8mr25346683wjd.14.1445087245969;\r
+ Sat, 17 Oct 2015 06:07:25 -0700 (PDT)\r
+Received: from localhost (mobile-access-bcee43-111.dhcp.inet.fi.\r
+ [188.238.67.111])\r
+ by smtp.gmail.com with ESMTPSA id ew2sm7074034wic.20.2015.10.17.06.07.25\r
+ (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Sat, 17 Oct 2015 06:07:25 -0700 (PDT)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 4/4] NEWS: news for notmuch_directory_delete\r
+Date: Sat, 17 Oct 2015 16:06:53 +0300\r
+Message-Id: <1445087213-21364-4-git-send-email-jani@nikula.org>\r
+X-Mailer: git-send-email 2.1.4\r
+In-Reply-To: <1445087213-21364-1-git-send-email-jani@nikula.org>\r
+References: <1445087213-21364-1-git-send-email-jani@nikula.org>\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: Sat, 17 Oct 2015 13:07:36 -0000\r
+\r
+---\r
+ NEWS | 13 +++++++++++++\r
+ 1 file changed, 13 insertions(+)\r
+\r
+diff --git a/NEWS b/NEWS\r
+index 9940f8185e82..c5417144b755 100644\r
+--- a/NEWS\r
++++ b/NEWS\r
+@@ -47,6 +47,19 @@ Library\r
+ The use of absolute paths is now enforced when calling\r
+ `notmuch_database_{open, create}`.\r
\r
++New function `notmuch_directory_delete` to delete directory documents\r
++\r
++  Previously there was no way to delete directory documents from the\r
++  database, leading to confusing results when the "ghost" directory\r
++  document of a renamed or deleted filesystem directory was\r
++  encountered every time the parent directory was being scanned by\r
++  `notmuch new`. The mtime of the old directory document was also used\r
++  if a directory by the same name was added again in the filesystem,\r
++  potentially bypassing the scan for the directory. The issues are\r
++  fixed by providing a library call to delete directory documents, and\r
++  deleting the old documents in `notmuch new` on filesystem directory\r
++  removal or rename.\r
++\r
+ nmbug-status\r
+ ------------\r
\r
+-- \r
+2.1.4\r
+\r