unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: notmuch@notmuchmail.org
Subject: [PATCH 8/8] NEWS: news for notmuch_directory_delete
Date: Sat, 17 Oct 2015 17:42:53 -0300	[thread overview]
Message-ID: <1445114573-25561-9-git-send-email-david@tethera.net> (raw)
In-Reply-To: <1445114573-25561-1-git-send-email-david@tethera.net>

From: Jani Nikula <jani@nikula.org>

---
 NEWS | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/NEWS b/NEWS
index 6a33330..c544a8e 100644
--- a/NEWS
+++ b/NEWS
@@ -88,6 +88,19 @@ Library
 The use of absolute paths is now enforced when calling
 `notmuch_database_{open, create}`.
 
+New function `notmuch_directory_delete` to delete directory documents
+
+  Previously there was no way to delete directory documents from the
+  database, leading to confusing results when the "ghost" directory
+  document of a renamed or deleted filesystem directory was
+  encountered every time the parent directory was being scanned by
+  `notmuch new`. The mtime of the old directory document was also used
+  if a directory by the same name was added again in the filesystem,
+  potentially bypassing the scan for the directory. The issues are
+  fixed by providing a library call to delete directory documents, and
+  deleting the old documents in `notmuch new` on filesystem directory
+  removal or rename.
+
 Database revision tracking
 
   Revision tracking is supported via a new prefix "lastmod:" in the
-- 
2.5.3

  parent reply	other threads:[~2015-10-17 20:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-17 20:42 NEWS patches v2 David Bremner
2015-10-17 20:42 ` [PATCH 1/8] NEWS: news for initial revision tracking support (0.21) David Bremner
2015-10-17 20:42 ` [PATCH 2/8] NEWS: note some build system changes for 0.21 David Bremner
2015-10-17 20:42 ` [PATCH 3/8] NEWS: new count api / deprecated count/search functions " David Bremner
2015-10-17 20:42 ` [PATCH 4/8] NEWS: note some Emacs UI changes " David Bremner
2015-10-17 20:42 ` [PATCH 5/8] NEWS: nmbug-status supports sort order David Bremner
2015-10-17 20:42 ` [PATCH 6/8] NEWS: news for date:<expr>..! David Bremner
2015-10-17 20:42 ` [PATCH 7/8] NEWS: news for notmuch address --deduplicate option David Bremner
2015-10-17 20:42 ` David Bremner [this message]
2015-10-18 11:15 ` NEWS patches v2 Tomi Ollila
2015-10-18 12:14   ` Jani Nikula
2015-10-19 17:09     ` Tomi Ollila

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1445114573-25561-9-git-send-email-david@tethera.net \
    --to=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).