From: John Keeping <john@keeping.me.uk>
To: Matthijs Kooijman <matthijs@stdin.nl>, git@vger.kernel.org
Subject: Re: Automatically filling in git send-email arguments based on an existing e-mail
Date: Wed, 2 Oct 2013 11:19:30 +0100 [thread overview]
Message-ID: <20131002101930.GH27238@serenity.lan> (raw)
In-Reply-To: <20131002082525.GU10217@login.drsnuggles.stderr.nl>
On Wed, Oct 02, 2013 at 10:25:25AM +0200, Matthijs Kooijman wrote:
> sometimes when I send a patch, I want to reply it to an existing e-mail,
> using pretty much the same recipient list. Currently, I have to:
>
> - copy-paste the message id for --in-reply-to header
> - copy one address for --to
> - copy the other addresses for the --cc's
>
> Since I can't just chuck a list of addresses into --cc and I need to
> quote every one because of the <> and spaces in there, this feels like
> it's more tedious than needed.
>
> It seems like there should be a weay to just copy paste the headers from
> the original e-mail into the stdin of git send-email or a wrapper script
> and let it sort things out from there.
>
>
> Is there any interest in something like this? Does anyone else perhaps
> already have such a script lying around?
I have been working on this for a while, but haven't yet got anything
into a suitable state for submission (and haven't made progress on it
for a while). My WIP is at:
https://github.com/johnkeeping/git/tree/format-patch-msgstore
The idea is to introduce a new helper protocol so that you can implement
various ways of finding a message given a message-id; I've implemented
one that finds the message from gmane.
What's there works in format-patch but not with send-email, which
implements message IDs itself rather than forwarding the arguments to
format-patch and I haven't had time to investigate changing send-email
to work with these patches.
prev parent reply other threads:[~2013-10-02 10:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-02 8:25 Automatically filling in git send-email arguments based on an existing e-mail Matthijs Kooijman
2013-10-02 10:19 ` John Keeping [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=20131002101930.GH27238@serenity.lan \
--to=john@keeping.me.uk \
--cc=git@vger.kernel.org \
--cc=matthijs@stdin.nl \
/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 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).