Re: [Patch v2 09/13] CLI: add optional config data to dump output.

Subject: Re: [Patch v2 09/13] CLI: add optional config data to dump output.

Date: Sat, 26 Mar 2016 15:13:47 -0300

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


David Bremner <david@tethera.net> writes:

> Note that it changes the default dump output format, but doesn't break
> existing notmuch-restore. It might break user scripts though.

blush. One of the things it breaks is nmbug. The quick and dirty fix
would be to have nmbug ignore any comment lines in the dump output.

There is an option to the new dump (--include=tags) which omits the
config information, but it still adds a single header line. I'd be open
to the idea of omitting the header line if there is no config
information in the file.

The other question is if the current default of including configuration
information is a good idea. For the most obvious use case of backing up the
user's data, it seems like the right thing to do.

d

Thread: