CMIT_FMT_EMAIL: Q-encode Subject: and display-name part of From: fields.
authorJunio C Hamano <junkio@cox.net>
Tue, 16 May 2006 09:29:42 +0000 (02:29 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 22 May 2006 04:39:20 +0000 (21:39 -0700)
commitcdd406e389bd6e0b2ad9394340a366c0c5ae27fc
treea0c401cb3ecabeef8a406a7506dd5cc1d6890dd1
parentefbff23609654ac0542d3421d19eea8dbc1f80cd
CMIT_FMT_EMAIL: Q-encode Subject: and display-name part of From: fields.

By convention, the commit message and the author/committer names
in the commit objects are UTF-8 encoded.  When formatting for
e-mails, Q-encode them according to RFC 2047.

While we are at it, generate the content-type and
content-transfer-encoding headers as well.

Signed-off-by: Junio C Hamano <junkio@cox.net>
commit.c