summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJani Nikula <jani@nikula.org>2015-10-17 16:06:53 +0300
committerDavid Bremner <david@tethera.net>2015-10-17 16:54:43 -0300
commitea66dec8784b3b0b879fd35d7c48b4d3869ecadd (patch)
tree7946ed39d20d901d69d4e4eca0aa117bde5b1fa0
parent25676b62014039c6414aea57a755c93e4a2eb310 (diff)
NEWS: news for notmuch_directory_delete
-rw-r--r--NEWS13
1 files changed, 13 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 6a333303..c544a8ef 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