]> git.notmuchmail.org Git - notmuch/commit
Prevent data loss caused by SIGINT during notmuch new
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 30 Mar 2010 08:23:23 +0000 (10:23 +0200)
committerCarl Worth <cworth@cworth.org>
Tue, 13 Apr 2010 15:44:34 +0000 (08:44 -0700)
commit423421526329f9c788e707301ee966eea911d261
tree1ab6752fa5691d9f34ebf2a70763abf61c45d82a
parent9ddde6eb14c126e314d90e2e08f213fb81f0457f
Prevent data loss caused by SIGINT during notmuch new

When Ctrl-C is pressed in a wrong time during notmuch new, it can lead
to removal of messages from the database even if the files were not
removed.

It happened at least once to me.

Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>
notmuch-new.c