Re: [PATCH v6 03/12] cli: add insert command

Subject: Re: [PATCH v6 03/12] cli: add insert command

Date: Sun, 23 Jun 2013 13:57:27 +1000

To: Mark Walters

Cc: notmuch@notmuchmail.org

From: Peter Wang


On Sat, 22 Jun 2013 08:48:56 +0100, Mark Walters <markwalters1009@gmail.com> wrote:
> 
> I think I would like the option to have the command fail if it doesn't
> get added to the database. If, for example, the command is used to
> postpone a message it may be very difficult/impossible to find it
> without the postponed tag that I asked for.
> 
> Could we have a --fail-on-index-fail cli option which says which
> behaviour we want? It is a little ugly but I think different users will
> want different behaviour and there is a risk of dataloss in either case.

I would like that option, too (not sure about the name).  It can be
added after at least the first few patches in the series are pushed.

Peter

Thread: