]> git.notmuchmail.org Git - notmuch/commit
notmuch search: Use "thread" rather than "id" when formatting with JSON
authorCarl Worth <cworth@cworth.org>
Tue, 23 Feb 2010 20:41:59 +0000 (12:41 -0800)
committerCarl Worth <cworth@cworth.org>
Tue, 23 Feb 2010 20:50:46 +0000 (12:50 -0800)
commit5171831813716fa09e64d37a9d6f6ba4fc418c5b
treed16489dcb4866d47f47ac6856a97519d79018af4
parentcfa95eec27b3002b22bb7e1734b90fbbbff2c284
notmuch search: Use "thread" rather than "id" when formatting with JSON

The text output uses thread:<foo>, (which is a syntax directly supported
by "notmuch show"), so make the json output be "thread", "<foo>" rather
than "id", "<foo>". This should help avoid confusion of thread IDs with
message IDs, (which do use the "id" prefix in searches).
notmuch-search.c