cli/insert: rehash file writing functions
authorJani Nikula <jani@nikula.org>
Mon, 22 Sep 2014 09:54:59 +0000 (11:54 +0200)
committerDavid Bremner <david@tethera.net>
Wed, 24 Sep 2014 18:29:58 +0000 (20:29 +0200)
commit0d597f6889fe29bf94658a1389b38c100154b72f
tree45b695fb15f21def4e60e46b888d6b06d4bbdc5a
parentdcfcb4ba7b9dfdb49ec62d8fb47a72fb60540655
cli/insert: rehash file writing functions

Make the function calls make more sense as independent building blocks
of the big picture, with clear inputs and outputs. Split up
write_message into two. Improve function documentation. Cleanup and
clarify the error paths.
notmuch-insert.c