]> git.notmuchmail.org Git - notmuch/commit
Use the structured formatters in notmuch-search.c.
authorcraven@gmx.net <craven@gmx.net>
Mon, 23 Jul 2012 10:39:46 +0000 (12:39 +0200)
committerDavid Bremner <bremner@debian.org>
Tue, 24 Jul 2012 12:27:09 +0000 (09:27 -0300)
commit10ab2b57039d7ef06c82749530ff48675e81d16d
tree9a164220944df71b6fe3664b4de3382975fcac36
parent36522fca1cac6ca23c2c4c0280e3e20e96f7bfbb
Use the structured formatters in notmuch-search.c.

This patch switches from the current ad-hoc printer to the structured
formatters in sprinter.h, sprinter-text.c and sprinter-json.c.

The JSON tests are changed slightly in order to make them PASS for the
new structured output formatter.

The text tests pass without adaptation.
notmuch-search.c
test/json