Re: [PATCH] cli: consider files vanishing during notmuch new non-fatal

Subject: Re: [PATCH] cli: consider files vanishing during notmuch new non-fatal

Date: Sat, 12 Nov 2016 12:15:23 -0400

To: Brian Sniffen

Cc: Paul Wise, Jani Nikula, notmuch@notmuchmail.org

From: David Bremner


David Bremner <david@tethera.net> writes:

> Brian Sniffen <bts@evenmere.org> writes:
>
>>> 
>>> OK, but the patch proposed works both for people who want to be notified
>>> of this problem, and those that don't (with appropriate shell wrapping
>>> checking the return code).  
>>
>> I think it will loop; how do I guarantee termination and indexing of all present messages if deletions cause errors?
>>
>> -Brian
>
> stop deleting things? You can't guarantee termination and indexing of
> all present messages by ignoring deletions either.
>
> d

Sorry, that was written in haste. Of course if that's your goal ignoring
deletions is ok, but renames will still get you, and we have no way of
knowing the difference.  In any case, I was more thinking that people
who want to ignore deletions could check for the specific error code and
consider that not-an-error.

d

Thread: