Re: [PATCH] git-mailsplit: with maildirs try to process new/ if cur/ is empty
- From
- Fernando J. Pereda <ferdy@gentoo.org>
- Date
- Oct 26, 2007, 16:01 UTC
- Message-ID
- <20071026160118.GA5076@ferdyx.org>
- In-Reply-To
- <20071026141539.29928.qmail@d3691352d65cf2.315fe32.mid.smarden.org>
On Fri, Oct 26, 2007 at 02:15:39PM +0000, Gerrit Pape wrote:
Show 8 quoted lines
> When saving patches to a maildir with e.g. mutt, the files are put into > the new/ subdirectory of the maildir, not cur/. This makes git-am state > "Nothing to do.". This patch lets git-mailsplit fallback to new/ if the > cur/ subdirectory is empty. > > This was reported by Joey Hess through > http://bugs.debian.org/447396 >
By that reasoning, you should make it parse both cur/ and new/.
This didn't bit me because I always check mails I queue, so they ended up in cur/.
Other than that, ack from me.
- ferdy
-- Fernando J. Pereda Garcimartín 20BB BDC3 761A 4781 E6ED ED0B 0A48 5B0C 60BD 28D4