1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-10-31 22:37:54 +01:00
git/contrib/hooks
Gerrit Pape 53a7296e7e hooks/post-receive-email: set declared encoding to utf-8
Some email clients (e.g., claws-mail) display the message body
incorrectly when the charset is not defined explicitly in a
Content-Type header.  "git log" generates logs in UTF-8 encoding by
default, so add a Content-Type header declaring that encoding to
the emails the post-receive-email example hook sends.

[jn: also setting the Content-Transfer-Encoding so MTAs know what
 kind of mangling might be needed when sending to a non 8-bit clean
 SMTP host]

Requested-by: Alexander Gerasiov <gq@debian.org>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2013-08-05 10:17:38 -07:00
..
multimail git-multimail: an improved replacement for post-receive-email 2013-07-15 12:59:48 -07:00
post-receive-email hooks/post-receive-email: set declared encoding to utf-8 2013-08-05 10:17:38 -07:00
pre-auto-gc-battery Add Linux PPC support to the pre-auto-gc example hook 2008-10-14 16:50:09 -07:00
setgitperms.perl contrib/hooks/setgitperms.perl: use a lowercase "usage:" string 2013-02-24 13:31:09 -08:00
update-paranoid Ignore no-op changes in paranoid update hook 2008-05-25 20:29:30 -07:00