]> git.notmuchmail.org Git - notmuch/commit
Fix missing final newline in notmuch search output
authorJameson Graef Rollins <jrollins@finestructure.net>
Fri, 6 May 2011 19:03:04 +0000 (12:03 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 1 Jun 2011 23:30:29 +0000 (16:30 -0700)
commit049ac914f9041df54bfdbcb43f9356c4e74c1279
tree309203c30790f60f9b757e8e39c5496dee48d26d
parent593d96ff1d2c7f3f175cd6b258e02e9f4ce2392d
Fix missing final newline in notmuch search output

A previous commit to fix json formatting for null results
(0b1ddc5f6652bde99d63d9d553777b3d926694cf) accidentally introduced a
regression that removed trailing newlines for non-json output.  (There
wasn't a good test for this previously, but there is now).  The
problem is due to the fundamental differences in formatting between
the json and non-json outputs.  The only way to fix this was to add a
new formatting field that represents the string to output at the end
of a null result.

All output formatting tests should pass now, (in particular, the 4
recent test failures introduced to show this bug).
notmuch-search.c