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

David Bremner david at tethera.net
Sat Mar 26 11:13:47 PDT 2016


David Bremner <david at 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


More information about the notmuch mailing list