[PATCH 4/4] NEWS: news for notmuch_directory_delete
Tomi Ollila
tomi.ollila at iki.fi
Sat Oct 17 07:24:42 PDT 2015
On Sat, Oct 17 2015, Jani Nikula <jani at nikula.org> wrote:
> ---
> NEWS | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/NEWS b/NEWS
> index 9940f8185e82..c5417144b755 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -47,6 +47,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.
LGTM (format).
> +
> nmbug-status
> ------------
>
> --
> 2.1.4
>
> _______________________________________________
> notmuch mailing list
> notmuch at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch
More information about the notmuch
mailing list