MIME headers in introductory message (git send-email --compose)
- From
- Teemu Likonen <tlikonen@iki.fi>
- Date
- Mar 25, 2008, 18:31 UTC
- Message-ID
- <200803252031.17017.tlikonen@iki.fi>
- In-Reply-To
- <7vhcfaxxxk.fsf@gitster.siamese.dyndns.org>
Junio C Hamano kirjoitti:
Show 8 quoted lines
> Samuel Tardieu <sam@rfc1149.net> writes: > > Add MIME-Version/Content-Type/Content-Transfer-Encoding headers in > > messages generated with git-format-patch. Without it, messages > > generated without using --attach or --inline didn't have any > > content type information. > > Isn't that job for send-email (or user's MUA)? I really do not think > we want to clutter format-patch output any more than necessary.
By the way, 'git send-email --compose' does not add MIME headers to introductory message. All non-Ascii chars will output something undefined in receivers' end.
I guess the right way would be to detect user's charset (locale) and add appropriate MIME headers. Also, the Subject field should be encoded if it contains non-Ascii characters.