* [RFC] OSX Mail.app IMAP cache support for git-mailsplit?
@ 2007-11-04 5:49 Michael J. Cohen
2007-11-05 6:36 ` [RFC PATCH] " Michael Cohen
0 siblings, 1 reply; 4+ messages in thread
From: Michael J. Cohen @ 2007-11-04 5:49 UTC (permalink / raw)
To: Git Mailing List
Trivially, adding support for checking for Messages/ inside the
specified Maildir after cur/ is found not to exist would be enough to
make this work.
Is there interest in a patch for this at all?
-mjc
^ permalink raw reply [flat|nested] 4+ messages in thread
* [RFC PATCH] OSX Mail.app IMAP cache support for git-mailsplit?
2007-11-04 5:49 [RFC] OSX Mail.app IMAP cache support for git-mailsplit? Michael J. Cohen
@ 2007-11-05 6:36 ` Michael Cohen
2007-11-05 10:39 ` Johannes Schindelin
0 siblings, 1 reply; 4+ messages in thread
From: Michael Cohen @ 2007-11-05 6:36 UTC (permalink / raw)
To: Michael J. Cohen
On Nov 4, 2007, at 1:49 AM, Michael J. Cohen wrote:
> Trivially, adding support for checking for Messages/ inside the
> specified Maildir after cur/ is found not to exist would be enough
> to make this work.
my repo at git://home.325i.org/git-osxmail.git should have that portion.
unsure as to whether to make it an option, a fallback, a config value,
or whatever...
-mjc
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFC PATCH] OSX Mail.app IMAP cache support for git-mailsplit?
2007-11-05 6:36 ` [RFC PATCH] " Michael Cohen
@ 2007-11-05 10:39 ` Johannes Schindelin
2007-11-05 12:09 ` Michael Cohen
0 siblings, 1 reply; 4+ messages in thread
From: Johannes Schindelin @ 2007-11-05 10:39 UTC (permalink / raw)
To: Michael Cohen; +Cc: git
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 ;-)
On Mon, 5 Nov 2007, Michael Cohen wrote:
> On Nov 4, 2007, at 1:49 AM, Michael J. Cohen wrote:
>
> > Trivially, adding support for checking for Messages/ inside the specified
> > Maildir after cur/ is found not to exist would be enough to make this work.
>
> my repo at git://home.325i.org/git-osxmail.git should have that portion.
>
> unsure as to whether to make it an option, a fallback, a config value, or
> whatever...
A fallback would be sufficient.
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.
- you probably forgot to remove the original "if (populate...)...". That
means that populate would be called _twice_, even if successful.
- 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.
Ciao,
Dscho
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFC PATCH] OSX Mail.app IMAP cache support for git-mailsplit?
2007-11-05 10:39 ` Johannes Schindelin
@ 2007-11-05 12:09 ` Michael Cohen
0 siblings, 0 replies; 4+ messages in thread
From: Michael Cohen @ 2007-11-05 12:09 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: git
On Nov 5, 2007, at 5:39 AM, Johannes Schindelin wrote:
> 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. :)
> 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?
> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-11-05 12:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-04 5:49 [RFC] OSX Mail.app IMAP cache support for git-mailsplit? Michael J. Cohen
2007-11-05 6:36 ` [RFC PATCH] " Michael Cohen
2007-11-05 10:39 ` Johannes Schindelin
2007-11-05 12:09 ` Michael Cohen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).