]> git.cworth.org Git - obsolete/notmuch-old/commit
notmuch new: Avoid updating directory timestamp if interrupted.
authorCarl Worth <cworth@cworth.org>
Tue, 5 Jan 2010 23:23:52 +0000 (15:23 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 6 Jan 2010 03:05:29 +0000 (19:05 -0800)
commit2b19d05aadeabff8f526a823de47dea431ab1e3f
treeb38d07616e05f5776d389bd6a8f39c848182fa53
parent627532ba47398e18f3f51eb8f27df5284b20ee6e
notmuch new: Avoid updating directory timestamp if interrupted.

This was a very dangerous bug. An interrupted "notmuch new" session
would still update the timestamp for the directory in the
database. This would result in mail files that were not processed due
to the original interruption *never* being picked up by future runs of
"notmuch new". Yikes!
notmuch-new.c