From: "Jay Soffian" <jaysoffian@gmail.com>
To: "Teemu Likonen" <tlikonen@iki.fi>
Cc: git@vger.kernel.org, "Junio C Hamano" <gitster@pobox.com>,
"Samuel Tardieu" <sam@rfc1149.net>
Subject: Re: MIME headers in introductory message (git send-email --compose)
Date: Tue, 25 Mar 2008 15:17:10 -0400 [thread overview]
Message-ID: <76718490803251217q27ae4381h298ec6de8a4d965a@mail.gmail.com> (raw)
In-Reply-To: <200803252031.17017.tlikonen@iki.fi>
On Tue, Mar 25, 2008 at 2:31 PM, Teemu Likonen <tlikonen@iki.fi> wrote:
> Junio C Hamano kirjoitti:
>
> > 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.
I stuck this in my config and it works-for-me:
[format]
headers = \
"MIME-Version: 1.0\n\
Content-Type: text/plain; charset=UTF-8\n\
Content-Transfer-Encoding: 8bit\n"
Shrug. (Never tried putting non-ascii in the subject tho.)
j.
next prev parent reply other threads:[~2008-03-25 19:17 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-13 16:40 [PATCH] Add MIME information to outgoing email Samuel Tardieu
2008-03-13 17:00 ` Jeff King
2008-03-13 17:14 ` Samuel Tardieu
2008-03-14 13:29 ` Jeff King
2008-03-14 13:40 ` Samuel Tardieu
2008-03-14 13:46 ` Jeff King
2008-03-14 13:50 ` Samuel Tardieu
2008-03-14 14:35 ` Jeff King
2008-03-14 14:40 ` Samuel Tardieu
2008-03-14 16:20 ` Junio C Hamano
2008-03-14 20:21 ` Re* " Junio C Hamano
2008-03-14 21:27 ` Jeff King
2008-03-13 18:48 ` Junio C Hamano
2008-03-13 19:05 ` Samuel Tardieu
2008-03-14 11:21 ` Brian Swetland
2008-03-14 11:57 ` Samuel Tardieu
2008-03-25 18:31 ` MIME headers in introductory message (git send-email --compose) Teemu Likonen
2008-03-25 19:17 ` Jay Soffian [this message]
2008-03-25 20:47 ` Junio C Hamano
2008-03-25 20:59 ` Jay Soffian
2008-03-25 21:56 ` Jeff King
2008-03-25 22:07 ` Jeff King
2008-03-25 23:06 ` Jeff King
2008-03-26 2:46 ` Jay Soffian
2008-04-10 18:47 ` Jan Hudec
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=76718490803251217q27ae4381h298ec6de8a4d965a@mail.gmail.com \
--to=jaysoffian@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=sam@rfc1149.net \
--cc=tlikonen@iki.fi \
/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).