| author | Junio C Hamano <gitster@pobox.com> | |
| Wed, 31 Oct 2007 21:55:17 +0000 (14:55 -0700) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Fri, 2 Nov 2007 00:18:39 +0000 (17:18 -0700) | ||
| commit | 4593fb84051d39f65cec81958e91056986e4682f | |
| tree | 1578c05838433c52285292a762077317d86fee95 | tree | snapshot |
| parent | 3e4bb087a18435b12eb82116e93af2887578e816 | commit | diff |
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.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| builtin-branch.c | diff | blob | history | |
| builtin-log.c | diff | blob | history | |
| builtin-rev-list.c | diff | blob | history | |
| builtin-show-branch.c | diff | blob | history | |
| commit.c | diff | blob | history | |
| commit.h | diff | blob | history | |
| log-tree.c | diff | blob | history |