]> git.notmuchmail.org Git - notmuch/commit
new: Defer updating directory mtimes until the end.
authorAustin Clements <amdragon@mit.edu>
Tue, 8 Feb 2011 23:24:33 +0000 (18:24 -0500)
committerDavid Bremner <bremner@debian.org>
Sat, 24 Sep 2011 01:50:38 +0000 (21:50 -0400)
commitfcd433709eff6b7f0fbbd1e5018ca0e37315ce26
tree7712ca5a1edaa36afd8e9179567b8d5e451d4bc0
parent8e7a108363574ad3a342ed33a7c61c7dea65dc8a
new: Defer updating directory mtimes until the end.

Previously, if notmuch new were interrupted between updating the
directory mtime and handling removals from that directory, a
subsequent notmuch new would not handle those removals until something
else changed in that directory.  This defers recording the updated
mtime until after removals are handled to eliminate this problem.
notmuch-new.c