[PATCH 04/10] lib: refactor notmuch_database_add_message header parsing

2017-05-13 Thread David Bremner
This function is large and hard to understand and modify. Start to break it down into meaningful pieces. --- lib/add-message.cc| 54 +++- lib/message-file.c| 86 +++ lib/notmuch-private.h | 11 +++ 3 files

[PATCH 04/10] lib: refactor notmuch_database_add_message header parsing

2017-04-18 Thread David Bremner
This function is large and hard to understand and modify. Start to break it down into meaningful pieces. --- lib/add-message.cc| 54 +++- lib/message-file.c| 86 +++ lib/notmuch-private.h | 11 +++ 3 files