[PATCH 08/11] cli/insert: rehash file writing functions

2014-09-22 Thread Jani Nikula
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 | 127 --

[PATCH 08/11] cli/insert: rehash file writing functions

2014-09-22 Thread Jani Nikula
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 | 127 --