format-patch -s: add MIME encoding header if signer's name requires so
commitacef41c9db33f2261e46e17cca098df3403dd745
authorJunio C Hamano <gitster@pobox.com>
Wed, 31 Oct 2007 21:55:17 +0000 (31 14:55 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 Nov 2007 02:37:27 +0000 (7 18:37 -0800)
tree63177195e70d43e7ed3902d2790061690fc35474
parent6d0618a820a20846d60b665897fcce600f452eec
format-patch -s: add MIME encoding header if signer's name requires so

When the body of the commit log message contains a non-ASCII character,
format-patch correctly emitted the encoding header to mark the resulting
message as such.  However, if the original message was fully ASCII, the
command line switch "-s" was given to add a new sign-off, and
the signer's name was not ASCII only, the resulting message would have
contained non-ASCII character but was not marked as such.

This was cherry-picked from the fix in 'master'

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-branch.c
builtin-log.c
builtin-rev-list.c
builtin-show-branch.c
commit.c
commit.h
log-tree.c