From: David Bremner <david@tethera.net>
To: notmuch@freelists.org, notmuch@notmuchmail.org
Subject: Re: [PATCH 2/2] cli/dump: don't include tags when not asked for
Date: Tue, 23 May 2017 08:11:23 -0300 [thread overview]
Message-ID: <878tlnn7z8.fsf@tethera.net> (raw)
In-Reply-To: <20170508014423.20765-2-david@tethera.net>
David Bremner <david@tethera.net> writes:
> Add in the analogous test for tags that is given for properties a few
> lines below.
> ---
> notmuch-dump.c | 3 ++-
> test/T610-message-property.sh | 1 -
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/notmuch-dump.c b/notmuch-dump.c
> index e451ac0c..5cc3b2f6 100644
> --- a/notmuch-dump.c
> +++ b/notmuch-dump.c
> @@ -250,7 +250,8 @@ database_dump_file (notmuch_database_t *notmuch, gzFile output,
>
> message = notmuch_messages_get (messages);
>
> - if (dump_tags_message (notmuch, message, output_format, output,
> + if ((include & DUMP_INCLUDE_TAGS) &&
> + dump_tags_message (notmuch, message, output_format, output,
> &buffer, &buffer_size))
> return EXIT_FAILURE;
I'd like to include this two line patch in 0.24.2, along with Mark's fix
2d79d38a0. Any objections? Any other similar fixes that should be
included in 0.24.2?
d
prev parent reply other threads:[~2017-05-23 11:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-07 14:21 BUG: notmuch dump --include=properties implies --include=tags David Bremner
2017-05-08 1:44 ` [PATCH 1/2] test: add known broken test --include=properties David Bremner
2017-05-08 1:44 ` [PATCH 2/2] cli/dump: don't include tags when not asked for David Bremner
2017-05-23 11:11 ` David Bremner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878tlnn7z8.fsf@tethera.net \
--to=david@tethera.net \
--cc=notmuch@freelists.org \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).