Re: Missing MIME-headers in git-email-tool ..
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Oct 30, 2007, 12:07 UTC
- Message-ID
- <Pine.LNX.4.64.0710301157290.4362@racer.site>
- In-Reply-To
- <20071030112750.GA6372@mea-ext.zmailer.org>
Hi,
[please Cc: me]
On Tue, 30 Oct 2007, Matti Aarnio wrote:
Show 29 quoted lines
> On Tue, Oct 30, 2007 at 10:31:41AM +0000, Johannes Schindelin wrote: > > > On Tue, 30 Oct 2007, Matti Aarnio wrote: > > > > > The git-send-email does send posts without any sort of MIME labeling: > > > > > > From: / To: removed > > > > > > Subject: [PATCH 0/2] Blackfin I2C/TWI driver updates > > > Date: Tue, 30 Oct 2007 17:33:15 +0800 > > > Message-Id: <1193736797-9005-1-git-send-email-bryan.wu@analog.com> > > > X-Mailer: git-send-email 1.5.3.4 > > > Precedence: bulk > > > > > > > > > which per MIME rules means that the message in question is equivalent > > > to one with header labels: > > > > > > MIME-Version: 1.0 > > > Content-Type: text/plain; charset=US-ASCII > > > Content-Transfer-Encoding: 7bit > > > > AFAICT MIME headers are only added when needed. (But that might only > > apply to format-patch; however, if you signed off with your name, all > > should be well.) > > I wish that were true.. We (VGER's Postmasters that is) would not see > so much rejections from all over the places... Would it motivate you > if we sent all GIT caused ones to you ?
Heh.
I'm not a send-mail user myself, so I did not ever have any reason to dive into its source code. Sorry.
I understand your pain. But as we assume UTF-8 in git if no other encoding is selected, I think it makes more sense to default to UTF-8.
That said, I actually like the behaviour which I think is intended, to not specify anything when the message can be interpreted as US-ASCII.
BTW I tried to find anything in the message you referenced which would make it non-ASCII, but I did not find anything. But then, I am not subscribed to the lkml, and can only get stripped down versions of the mails via marc or kerneltrap.
Any send-email gurus want to join into this discussion?
Ciao, Dscho