]> git.cworth.org Git - notmuch/commitdiff
notmuch new: Store detected removed filenames for later processing.
authorCarl Worth <cworth@cworth.org>
Wed, 6 Jan 2010 01:56:11 +0000 (17:56 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 6 Jan 2010 18:32:06 +0000 (10:32 -0800)
It is essential to defer the actual removal of any filenames from the
database until we are entirely done adding any new files. This is to
avoid any information loss from the database in the case of a renamed
file or directory.

Note that we're *still* not actually doing any removal---still just
printing messages indicating the filenames that were detected as
removed. But we're at least now printing those messages at a time when
we actually *can* do the actual removal.


No differences found