{"thread":{"id":"20289","subject":"[PATCH] post-receive-email: Set content-type and encoding in generated mail","startedAt":"2009-07-29T09:43:42Z","lastAt":"2009-07-29T09:43:42Z","messageCount":1,"participants":["Fabian Emmes"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"119142","messageId":"1248860622-11814-1-git-send-email-emmes@informatik.rwth-aachen.de","threadId":"20289","inReplyTo":null,"subject":"[PATCH] post-receive-email: Set content-type and encoding in generated mail","fromName":"Fabian Emmes","fromEmail":"emmes@informatik.rwth-aachen.de","sentAt":"2009-07-29T09:43:42Z","receivedAt":"2009-07-29T09:43:42Z","isPatch":true,"sender":{"key":"emmes@informatik.rwth-aachen.de","avatar":null},"body":"Add proper content-type header to mails generated by post-receive-email, as\nsuggested by Alexander Gerasiov in\nhttp://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg588535.html\n\nSigned-off-by: Fabian Emmes <emmes@informatik.rwth-aachen.de>\n---\n contrib/hooks/post-receive-email |    1 +\n 1 files changed, 1 insertions(+), 0 deletions(-)\n\ndiff --git a/contrib/hooks/post-receive-email b/contrib/hooks/post-receive-email\nindex 2a66063..0c50155 100755\n--- a/contrib/hooks/post-receive-email\n+++ b/contrib/hooks/post-receive-email\n@@ -197,6 +197,7 @@ generate_email_header()\n \tcat <<-EOF\n \tTo: $recipients\n \tSubject: ${emailprefix}$projectdesc $refname_type, $short_refname, ${change_type}d. $describe\n+\tContent-Type: text/plain; charset=utf-8\n \tX-Git-Refname: $refname\n \tX-Git-Reftype: $refname_type\n \tX-Git-Oldrev: $oldrev\n-- \n1.6.3.1.9.g95405b\n"}]}