Skip to content

post-receive-email: declaring and consistently using one output encoding

Jonathan Nieder git 1 version In review

Get series with b4
b4 am 20120308115119.GA2604@burratino

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hooks/post-receive-email: set encoding to utf-8contrib/hooks/post-receive-email+3 -00 replies
2/2post-receive-email: defend against non UTF-8 i18n.logoutputencoding settingcontrib/hooks/post-receive-email+6 -64 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchAlexander Gerasiov
1/2Requested-by
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH/RFC 0/2] post-receive-email: declaring and consistently using one output encoding

Hi,

These patches revisit the bug described at [1], where the sample post-receive script annoys receiving MUAs by not declaring what encoding it uses. Worse, sometimes the mails have a mixture of encodings.

These patches standardize on UTF-8, but that is only for the sake of simplicity. A patch on top to make the choice of encoding customizable would probably not be too complicated, if someone is interested.

Patches are targetted at 1.7.11 unless there is overwhelming interest in them landing sooner. Thanks to Alexander Gerasiov <[email protected]> for the writing a patch long ago to get this started[1].

Thoughts?

Gerrit Pape (1):
bug#506445: hooks/post-receive-email: set encoding to utf-8

Jonathan Nieder (1):
post-receive-email: defend against non-utf8 [i18n] logoutputencoding
setting

 contrib/hooks/post-receive-email |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

[1] http://thread.gmane.org/gmane.comp.version-control.git/181737/focus=181755
[2] http://bugs.debian.org/506445