[PATCH 0/4] Add a --body option to notmuch show
Mark Walters
markwalters1009 at gmail.com
Mon Jul 23 09:17:17 PDT 2012
After discussion on irc today here is another version of the omit body
patches. The conclusion on irc was that the option should just make
the body: field in the JSON output optional. The --body=false option
omits this field. The default remains --body=true including the body:
field in the output.
This version includes tests for the new functionality and updates the
manpage and the schemata.
The motivation for this patch is that some callers do not need the
body and omitting it gives a substantial speed up and substantial
reduction in amount of data output.
Previous related patches are at
id:"1342967879-20453-1-git-send-email-markwalters1009 at gmail.com" and
id:"1341041595-5858-1-git-send-email-markwalters1009 at gmail.com"
Best wishes
Mark
Mark Walters (4):
cli: add --body=true|false option to notmuch-show.c
test: add tests for the new --body=true|false option
man: update man page for the new --body=true|false option
schemata: update for --body=true|false option
devel/schemata | 2 +-
man/man1/notmuch-show.1 | 16 ++++++++++++++++
notmuch-client.h | 3 ++-
notmuch-reply.c | 2 +-
notmuch-show.c | 23 +++++++++++++++--------
test/json | 9 +++++++++
6 files changed, 44 insertions(+), 11 deletions(-)
--
1.7.9.1
More information about the notmuch
mailing list