1 Return-Path: <jani@nikula.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by arlo.cworth.org (Postfix) with ESMTP id 2E1846DE0C3A
\r
6 for <notmuch@notmuchmail.org>; Sat, 17 Oct 2015 06:07:36 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-0.529 tagged_above=-999 required=5 tests=[AWL=0.191,
\r
12 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01]
\r
14 Received: from arlo.cworth.org ([127.0.0.1])
\r
15 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id T4yG9k9JQ21t for <notmuch@notmuchmail.org>;
\r
17 Sat, 17 Oct 2015 06:07:34 -0700 (PDT)
\r
18 Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com
\r
20 by arlo.cworth.org (Postfix) with ESMTPS id 885E16DE0C42
\r
21 for <notmuch@notmuchmail.org>; Sat, 17 Oct 2015 06:07:27 -0700 (PDT)
\r
22 Received: by wicll6 with SMTP id ll6so41637260wic.0
\r
23 for <notmuch@notmuchmail.org>; Sat, 17 Oct 2015 06:07:26 -0700 (PDT)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=1e100.net; s=20130820;
\r
26 h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to
\r
28 bh=bI1nwCPdk+mDpycRax09/75Uua4qiPjn+Y4EnsAuqp4=;
\r
29 b=fAoJWP4itWCxDTzkMuBzRHKKLu4PUag6brGGqlBq4PEuijTNBAyAkdJ+BBvIhvraRB
\r
30 fc/HrxhcRcPGYmD9f7FSIeJlk7PP+7VWk2EYq7u4WPCY5CzHG5bwg2ZqE986UiB0kadz
\r
31 n2cs/UI7y7rozePwLj2SlQXArIv9+uVrLwIDxX2p6tu4yMv0icFarVTmGwqOzXcz7SFB
\r
32 nu5clhuWJtAhRK78JLLyve6i7sAl4txAAuetm3brYCsZ3sDwaArYfriG+NBRygyqv5tB
\r
33 8gzYpDPP1viJEI8Kkmjoa2GfS/ZtXZjoeUE0VbjHJSDWTV7xyBW027zEiNqtS7/kF5CG
\r
36 ALoCoQn+9ebWY2R+Kcz6MBUhG8/sXf5VbcMi5ylKanW5qoA1qvcdUtRHgZojTw2k4rhvsZpYfhRz
\r
37 X-Received: by 10.195.11.72 with SMTP id eg8mr25346683wjd.14.1445087245969;
\r
38 Sat, 17 Oct 2015 06:07:25 -0700 (PDT)
\r
39 Received: from localhost (mobile-access-bcee43-111.dhcp.inet.fi.
\r
41 by smtp.gmail.com with ESMTPSA id ew2sm7074034wic.20.2015.10.17.06.07.25
\r
42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
\r
43 Sat, 17 Oct 2015 06:07:25 -0700 (PDT)
\r
44 From: Jani Nikula <jani@nikula.org>
\r
45 To: notmuch@notmuchmail.org
\r
46 Subject: [PATCH 4/4] NEWS: news for notmuch_directory_delete
\r
47 Date: Sat, 17 Oct 2015 16:06:53 +0300
\r
48 Message-Id: <1445087213-21364-4-git-send-email-jani@nikula.org>
\r
49 X-Mailer: git-send-email 2.1.4
\r
50 In-Reply-To: <1445087213-21364-1-git-send-email-jani@nikula.org>
\r
51 References: <1445087213-21364-1-git-send-email-jani@nikula.org>
\r
52 X-BeenThere: notmuch@notmuchmail.org
\r
53 X-Mailman-Version: 2.1.18
\r
55 List-Id: "Use and development of the notmuch mail system."
\r
56 <notmuch.notmuchmail.org>
\r
57 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
58 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
59 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
60 List-Post: <mailto:notmuch@notmuchmail.org>
\r
61 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
62 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
63 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
64 X-List-Received-Date: Sat, 17 Oct 2015 13:07:36 -0000
\r
67 NEWS | 13 +++++++++++++
\r
68 1 file changed, 13 insertions(+)
\r
70 diff --git a/NEWS b/NEWS
\r
71 index 9940f8185e82..c5417144b755 100644
\r
74 @@ -47,6 +47,19 @@ Library
\r
75 The use of absolute paths is now enforced when calling
\r
76 `notmuch_database_{open, create}`.
\r
78 +New function `notmuch_directory_delete` to delete directory documents
\r
80 + Previously there was no way to delete directory documents from the
\r
81 + database, leading to confusing results when the "ghost" directory
\r
82 + document of a renamed or deleted filesystem directory was
\r
83 + encountered every time the parent directory was being scanned by
\r
84 + `notmuch new`. The mtime of the old directory document was also used
\r
85 + if a directory by the same name was added again in the filesystem,
\r
86 + potentially bypassing the scan for the directory. The issues are
\r
87 + fixed by providing a library call to delete directory documents, and
\r
88 + deleting the old documents in `notmuch new` on filesystem directory
\r
89 + removal or rename.
\r