summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 28e9cf6)
raw | patch | inline | side by side (parent: 28e9cf6)
author | Johannes Schindelin <johannes.schindelin@gmx.de> | |
Mon, 10 Aug 2009 16:22:22 +0000 (18:22 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 10 Aug 2009 21:39:41 +0000 (14:39 -0700) |
If your name is, say, Üwë, you want your cover letters to appear
correctly. Convince format-patch to mark it as 8-bit.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
correctly. Convince format-patch to mark it as 8-bit.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-log.c | patch | blob | history |
diff --git a/builtin-log.c b/builtin-log.c
index 0c2fa0ae2dc3f23cd52d2e8d765805b07262a7d6..1929e0a16c2a8fb458132017823990474b0db4d6 100644 (file)
--- a/builtin-log.c
+++ b/builtin-log.c
log_write_email_headers(rev, head, &subject_start, &extra_headers,
&need_8bit_cte);
+ for (i = 0; !need_8bit_cte && i < nr; i++)
+ if (has_non_ascii(list[i]->buffer))
+ need_8bit_cte = 1;
+
msg = body;
pp_user_info(NULL, CMIT_FMT_EMAIL, &sb, committer, DATE_RFC2822,
encoding);