Re: [PATCH/RFC] feeding Maildir to git-am
- From
Jeff King <peff@peff.net>
- Date
- Aug 20, 2008, 13:03 UTC
- Message-ID
- <20080820130342.GA6602@coredump.intra.peff.net>
- In-Reply-To
- <7vbpzotfyy.fsf@gitster.siamese.dyndns.org>
On Tue, Aug 19, 2008 at 10:25:57PM -0700, Junio C Hamano wrote:
> I do not use Maildir myself but people who do not know how Maildir look > like (including myself) would be left wondering why there is even no error > message when giving a random directory full of format-patch output to am.
I don't use maildirs with git, but I have worked with them in the past, and I think your patch is definitely an improvement.
However, I wonder if we could go one step further and just DWYM: if a directory has "cur" or "new", treat it like a maildir (IOW, look in there for patches), but otherwise treat it like a directory of format-patch output.
-Peff