cli/count: update to use notmuch_query_search_messages_st
authorDavid Bremner <david@tethera.net>
Sun, 6 Sep 2015 13:15:46 +0000 (10:15 -0300)
committerDavid Bremner <david@tethera.net>
Sun, 20 Sep 2015 11:04:51 +0000 (08:04 -0300)
commitdca72205ab550a6adb22a763a3f86083907b1eba
tree6c0bb67d6cc85d3a8ebeb9b64b410ec4b9637c68
parent39c54df26dad01e3ec294f7c4a613d9ee71faf3e
cli/count: update to use notmuch_query_search_messages_st

This brings back status information that may have been hidden by the
great library logging conversion.

Note the change of the internal API / return-value for count_files. The
other count calls to the lib will also get error handling when that API
is updated in the lib.
notmuch-count.c
test/T060-count.sh