From: Johannes Schindelin Date: Tue, 06 Nov 2007 11:01:03 GMT Subject: Re: [PATCH] git-mailsplit: with maildirs try to process new/ if cur/ is empty Message-ID: In-Reply-To: <20071106075150.GA21694@sigill.intra.peff.net> Hi, On Tue, 6 Nov 2007, Jeff King wrote: > On Tue, Nov 06, 2007 at 08:28:31AM +0100, Alex Riesen wrote: > > > > In Maildir format, cur and new hold the mails. :P > > > > So? Why *STOP* reading the mails if just one of the directories could > > not be opened? IOW, I suggest: > > Because you are then trying to apply a patch series with some patches > potentially missing? Continuing only on errno == ENOENT seems prudent. I fail to see how the absence of one of cur/ or new/ can lead to the absence of patches. You could forget to save some patches, yes, but the presence of cur/ and new/ is no indicator for that. Ciao, Dscho