Specifying Reply-To header in patches email using git-send-email?
I've tried for some time to specify the wine-devel Reply-To using git-send-email, with little success so far Any idea how this might be done? Here's how my git config looks like: [sendemail] <smtp server config> from = user <email> to = wine-patches <wine-patches(a)winehq.org> assume8bitEncoding = UTF-8 suppresscc = self chainreplyto = false thread = false suppressfrom = true Frédéric
On 08/21/2010 09:34 AM, Frédéric Delanoy wrote:
Here's how my git config looks like: [sendemail] <smtp server config> from = user<email> to = wine-patches<wine-patches(a)winehq.org> assume8bitEncoding = UTF-8
suppresscc = self chainreplyto = false thread = false suppressfrom = true
From http://wiki.winehq.org/GitWine#head-4051a521ff163340844bba9c78036cd8c594a980 and according to my .git/config, I think you're missing
[format] headers = "To: wine-patches <wine-patches(a)winehq.org>\nReply-To: wine-devel <wine-devel(a)winehq.org>\n"
2010/8/21 GOUJON Alexandre <ale.goujon(a)gmail.com>:
On 08/21/2010 09:34 AM, Frédéric Delanoy wrote:
Here's how my git config looks like: [sendemail] <smtp server config> from = user<email> to = wine-patches<wine-patches(a)winehq.org> assume8bitEncoding = UTF-8
suppresscc = self chainreplyto = false thread = false suppressfrom = true
From http://wiki.winehq.org/GitWine#head-4051a521ff163340844bba9c78036cd8c594a980 and according to my .git/config, I think you're missing
[format] headers = "To: wine-patches <wine-patches(a)winehq.org>\nReply-To: wine-devel <wine-devel(a)winehq.org>\n"
This is used for git imap-send, and does not work for git-send-email (I checked). Following the relevant git send-email section (http://wiki.winehq.org/GitWine#head-f09f3498e5910648468960a60ecf0f51b0fd4815 - Sending the patches using smtp), I set "thread" to true, but this doesn't change anything/has nothing to do with the "Reply-To" header, rather the "In-Reply-To" header. I'm using git 1.7.2.1 Frédéric
On 08/21/2010 03:35 PM, Frédéric Delanoy wrote:
This is used for git imap-send, and does not work for git-send-email (I checked). Following the relevant git send-email section (http://wiki.winehq.org/GitWine#head-f09f3498e5910648468960a60ecf0f51b0fd4815 - Sending the patches using smtp), I set "thread" to true, but this doesn't change anything/has nothing to do with the "Reply-To" header, rather the "In-Reply-To" header.
I'm using git 1.7.2.1
I attached the script I use to send patches to wine + my .git/config file The only drawback is that the "wine-patches <>" is added twice. But it works for me.
2010/8/21 GOUJON Alexandre <ale.goujon(a)gmail.com>:
[format] headers = "To: wine-patches <wine-patches(a)winehq.org>\nReply-To: wine-devel <wine-devel(a)winehq.org>\n"
As the name of the section suggests, this adds header lines to files generated with `git format-patch'. If you then send those files with `git send-email', it should work. If you `git send-email' files generated before configuring that, then it wouldn't have any effect. Initially I thought the mailing list software was configured to add the Reply-To header automagically, guess I was wrong. Octavian
2010/8/21 Octavian Voicu <octavian.voicu(a)gmail.com>:
2010/8/21 GOUJON Alexandre <ale.goujon(a)gmail.com>:
[format] headers = "To: wine-patches <wine-patches(a)winehq.org>\nReply-To: wine-devel <wine-devel(a)winehq.org>\n"
As the name of the section suggests, this adds header lines to files generated with `git format-patch'. If you then send those files with `git send-email', it should work. If you `git send-email' files generated before configuring that, then it wouldn't have any effect.
Initially I thought the mailing list software was configured to add the Reply-To header automagically, guess I was wrong.
Octavian
OK. By using [format] headers = "Reply-To: wine-devel <wine-devel(a)winehq.org>\n" [sendemail] to = wine-patches <wine-patches(a)winehq.org> I manage to get fully automated sending (yeah!). OTOH, using headers = "wine-patches <wine-patches(a)winehq.org>\nReply-To: wine-devel <wine-devel(a)winehq.org>\n" doesn't work since you're asked to provide the "To:" and you end up with two different "To" headers. I'll update the wiki. Thanks guys for your help. Frédéric
participants (3)
-
Frédéric Delanoy -
GOUJON Alexandre -
Octavian Voicu