cli/insert: require succesful message indexing for success status
authorJani Nikula <jani@nikula.org>
Fri, 3 Oct 2014 21:18:59 +0000 (23:18 +0200)
committerDavid Bremner <david@tethera.net>
Sat, 18 Oct 2014 05:54:25 +0000 (07:54 +0200)
commitdc20a0eedc80477c0db7b7dea9efef90860ec9fb
tree380a1e5aa670474d4e574cea36de0cc15abaca1f
parent5df46a3d9efcc201700b02e70b11808fcc40beab
cli/insert: require succesful message indexing for success status

Add --keep option to keep any remaining stuff in index or file. We
could distinguish between failures to index and failures to apply tags
or maildir sync, but for simplicity just have one.
doc/man1/notmuch-insert.rst
notmuch-insert.c
test/T070-insert.sh