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

Re: [RFC PATCH] OSX Mail.app IMAP cache support for git-mailsplit?

From
MCMichael Cohen <michaeljosephcohen@mac.com>
Date
Nov 5, 2007, 12:09 UTC
Message-ID
<7B84FFB7-5FE9-4D24-AEC5-43F667B59876@mac.com>
In-Reply-To
<Pine.LNX.4.64.0711051034060.4362@racer.site>
On Nov 5, 2007, at 5:39 AM, Johannes Schindelin wrote:
Show 7 quoted lines
> Hi,
>
> you have a very weird mail setting; I had to add the git list back  
> to the
> Cc.  This is just annoying enough for me to write an extra paragraph  
> to
> annoy you back ;-)
Have to get used to this; thank you. :)
Show 5 quoted lines
> Several comments (your patch not inlined, since you did not inline it
> either):
>
> - there needs to be a space between the ) and the { in the first if  
> line.
Doh. done.
> - you probably forgot to remove the original "if (populate...)...".   
> That
>  means that populate would be called _twice_, even if successful.
good catch.
> - git is written in C.  Therefore, "//" as a way to comment out is  
> wrong.
> - if you still return -1 when the dir could not be opened, I wonder  
> what
>  the rationale is to comment the error out.

More work needs to be done in there and in builtin-mailinfo.c to massage the mail format that Apple is using. Also what I think I need to do there is check the path that is being tested and print something like "%s/cur could not be found, trying alternate path" on the first test?

Show 5 quoted lines
> P.S.: You might want to send patches as these right away, without  
> asking
> if anybody cares (you'll see that very soon), but rather in accord  
> with
> Documentation/SubmittingPatches.
Thanks for that. 
  
Previous: Johannes Schindelin
Message 4 of 4 in “[RFC] OSX Mail.app IMAP cache support for git-mailsplit?”
  1. Michael J. CohenNov 4, 2007
  2. OSX Mail.app IMAP cache support for git-mailsplit?Michael Cohen, Nov 5, 2007
  3. Johannes SchindelinNov 5, 2007
  4. Michael CohenNov 5, 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.