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

Re: [PATCH] Allow user to specify mailbox format for mailsplit

From
Alex Riesen <raa.lkml@gmail.com>
Date
May 22, 2007, 22:04 UTC
Message-ID
<20070522220443.GK30871@steel.home>
In-Reply-To
<7vwsz1bw8y.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano, Tue, May 22, 2007 01:19:25 +0200:
Show 10 quoted lines
> Alex Riesen <raa.lkml@gmail.com> writes:
> 
> > If the argument ends with a slash - assume it is a Maildir and try to
> > create it. Otherwise - it is an mbox.
> 
> Sorry, I am lost here.  git-mailsplit is to read an existing
> mbox and split the pieces of e-mail into the specified output
> directory.  The recent Maildir support is to make it read pieces
> of e-mails from an existing Maildir (which presumably have bunch
> of files that store e-mail), isn't it?

Oh... Fernando, I'm very sorry. I never used mailsplit and didn't even gave a second thought about its name. For reasons unknown, I assumed the mbox/maildir argument is for the output. Must be all the ozone depletion and the cosmic rays now causing glitches in programmers brains...

Show 5 quoted lines
> If the patch were about creating a new _output_ directory (that
> is, "dir" in cmd_mailsplit), I would understand what you are
> trying to do, but why would you even want to create the input
> Maildir in that loop (I take that your patch is on top of
> Fernando's patch)?
Yes, but don't apply it! :)
Previous: Junio C HamanoNext: Junio C Hamano
Message 17 of 21 in “Teach mailsplit about Maildir's”
  1. Teach mailsplit about Maildir'sFernando J. Pereda, May 20, 2007
  2. Junio C HamanoMay 20, 2007
  3. Alex RiesenMay 20, 2007
  4. Fernando J. PeredaMay 20, 2007
  5. Alex RiesenMay 20, 2007
  6. Fernando J. PeredaMay 20, 2007
  7. Johan HerlandMay 20, 2007
  8. Fernando J. PeredaMay 20, 2007
  9. Johan HerlandMay 20, 2007
  10. Johannes SchindelinMay 21, 2007
  11. Junio C HamanoMay 21, 2007
  12. Johannes SchindelinMay 21, 2007
  13. Fernando J. PeredaMay 21, 2007
  14. Fernando J. PeredaMay 21, 2007
  15. Allow user to specify mailbox format for mailsplitAlex Riesen, May 21, 2007
  16. Junio C HamanoMay 21, 2007
  17. Alex RiesenMay 22, 2007
  18. Junio C HamanoMay 24, 2007
  19. Fernando J. PeredaMay 24, 2007
  20. Junio C HamanoMay 24, 2007
  21. Teach mailsplit about Maildir'sFernando J. Pereda, May 24, 2007

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.