All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <paolo.bonzini@gmail.com>
To: git@vger.kernel.org
Cc: Jeff King <peff@peff.net>
Subject: Re: [PATCH] git-format-patch, git-send-email: generate/handle escaped >From
Date: Sun, 28 Jun 2009 09:52:12 +0200	[thread overview]
Message-ID: <4A47212C.5070000@gmail.com> (raw)
In-Reply-To: <4A30F16C.5040207@gmail.com>

Paolo Bonzini wrote:
> 
>> But of course, which conversion you want depends entirely on what you
>> are going to feed it to, and which mbox they are expecting. Which is why
>> it really should be configurable.
>>
>> Your use case looks to be feeding it to send-email
> 
> Almost, :-) because git-send-email does not support sending multiple 
> messages out of one mbox file.  I have an upcoming patch to add this 
> support, and I was just "feeling the waters" before posting it.

I decided that it's easier to support sending a single mbox file with 
this alias instead:

send-mbox = "!bash -ec 'eval f=\\$$#; eval set -- `seq -f\"\\$%.0f\" 1 
$(($#-1))`; if last=`mkdir .mboxsplit && git mailsplit -d4 -o.mboxsplit 
-b -- \"$f\"`; then echo Found $last messages in \"$f\"; git send-email 
\"$@\" .mboxsplit && rm -rf .mboxsplit; else rm -rf .mboxsplit; fi' -"

So, patch withdrawn.  I don't think I'll post the patches in my 
mailsplit-with-sendemail branch.

Paolo

      reply	other threads:[~2009-06-28  7:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-11 10:00 [PATCH] git-format-patch, git-send-email: generate/handle escaped >From Paolo Bonzini
2009-06-11 10:55 ` Jeff King
2009-06-11 11:58   ` Paolo Bonzini
2009-06-28  7:52     ` Paolo Bonzini [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A47212C.5070000@gmail.com \
    --to=paolo.bonzini@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=peff@peff.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.