git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Junio C Hamano
Message 2 of 2 in “feeding Maildir to git-am”
  1. feeding Maildir to git-amJunio C Hamano, Aug 20, 2008
  2. Jeff KingAug 20, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.