]> git.cworth.org Git - notmuch/commit
Print nothing when search result is empty
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 1 Nov 2010 16:15:40 +0000 (17:15 +0100)
committerCarl Worth <cworth@cworth.org>
Thu, 4 Nov 2010 19:36:04 +0000 (12:36 -0700)
commit772bde847c4bbf3efa8ec7a333c64d19915339f1
treef04a446124d8d2d059156ac2385f9e7228ae5fed
parentc6b59ea3c656e31e4ed6942b5d7660895fca543a
Print nothing when search result is empty

This change affects both text and json formats. Now, text format
behaves as before commit 6dcb7592, but json format is changed.
Earlier, the empty search returned '[]', now it returns ''. The emacs
interface seems not to be affected by this change.
notmuch-search.c