]> rtime.felk.cvut.cz Git - notmuch.git/commit
cli: refactor insert
authorPeter Wang <novalazy@gmail.com>
Wed, 16 Apr 2014 12:59:21 +0000 (22:59 +1000)
committerDavid Bremner <david@tethera.net>
Tue, 16 Sep 2014 18:18:50 +0000 (20:18 +0200)
commitee3ccccd25396938223c67c7a829753b5480e4bc
treed4ded4f8a214ab6c6717222203cab86724b601ad
parent034102303eb4a2577ea06a453241fed6fe882322
cli: refactor insert

Change insert_message into write_message and move its responsibilities
for indexing the message into the main function, to simplify the control
flow.
notmuch-insert.c