]> git.notmuchmail.org Git - notmuch/commit
Add an "--format=(json|text)" command-line option to both notmuch-search and notmuch...
authorScott Robinson <scott@quadhome.com>
Thu, 31 Dec 2009 15:17:40 +0000 (11:17 -0400)
committerCarl Worth <cworth@cworth.org>
Tue, 23 Feb 2010 20:01:12 +0000 (12:01 -0800)
commit6ce2bf68f53fec4302121763e588c33c7cd86a9c
tree97eed1a84956f582cc43efbb16419c43b930c242
parent3ca7a4fbcc9cd72330bce1b1670150af1e250006
Add an "--format=(json|text)" command-line option to both notmuch-search and notmuch-show.

In the case of notmuch-show, "--format=json" also implies
"--entire-thread" as the thread structure is implicit in the emitted
document tree.

As a coincidence to the implementation, multipart message ID numbers are
now incremented with each part printed. This changes the previous
semantics, which were unclear and not necessary related to the actual
ordering of the message parts.
Makefile.local
json.c [new file with mode: 0644]
notmuch-client.h
notmuch-search.c
notmuch-show.c
notmuch.1
notmuch.c
show-message.c