From: Eric Wong <e@80x24.org>
To: Stefan Agner <stefan@agner.ch>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] send-email: avoid duplicate In-Reply-To/References
Date: Wed, 18 Apr 2018 00:54:15 +0000 [thread overview]
Message-ID: <20180418005415.GA31588@dcvr> (raw)
In-Reply-To: <20180417211630.22873-1-stefan@agner.ch>
Stefan Agner <stefan@agner.ch> wrote:
> This addresses the issue reported here:
> https://public-inbox.org/git/997160314bbafb3088a401f1c09ccb08@agner.ch/
Thanks for bringing this up.
> --- a/git-send-email.perl
> +++ b/git-send-email.perl
> @@ -1642,10 +1642,15 @@ foreach my $t (@files) {
> elsif (/^Content-Transfer-Encoding: (.*)/i) {
> $xfer_encoding = $1 if not defined $xfer_encoding;
> }
> + elsif (/^In-Reply-To: (.*)/i) {
> + $in_reply_to = $1;
> + }
> + elsif (/^References: (.*)/i) {
> + $references = $1;
> + }
References: can span multiple lines with --thread=deep in format-patch
(technically any header can be, but References: is common)
next prev parent reply other threads:[~2018-04-18 0:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-17 21:16 [PATCH] send-email: avoid duplicate In-Reply-To/References Stefan Agner
2018-04-18 0:54 ` Eric Wong [this message]
2018-04-18 7:38 ` Stefan Agner
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180418005415.GA31588@dcvr \
--to=e@80x24.org \
--cc=git@vger.kernel.org \
--cc=stefan@agner.ch \
/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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).