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 18:32:06 +0000 (10:32 -0800)
commit29908b9f1375904957e754531912d4ad12e94e74
tree5459617e455dcfb8bb10b971095c716e57950bd1
parent999f4c895c2442f50f943f6a8b391e1adc9cbba4
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