Hi, On Fri, 1 Aug 2008, Linus Torvalds wrote:Ah, there lies the rub (you forgot that the original complaint was about a comma, and pretty=email does not handle those): -- snipsnap -- pretty.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pretty.c b/pretty.c index 33ef34a..9db0333 100644 --- a/pretty.c +++ b/pretty.c @@ -79,7 +79,8 @@ int non_ascii(int ch) static int is_rfc2047_special(char ch) { - return (non_ascii(ch) || (ch == '=') || (ch == '?') || (ch == '_')); + return (non_ascii(ch) || (ch == '=') || (ch == '?') || (ch == '_') || + (ch == ',') || (ch == '"') || (ch == '\'')); } static void add_rfc2047(struct strbuf *sb, const char *line, int len, @@ -89,7 +90,7 @@ static void add_rfc2047(struct strbuf *sb, const char *line, int len, for (i = 0; i < len; i++) { int ch = line[i]; - if (non_ascii(ch)) + if (is_rfc2047_special(ch)) goto needquote; if ((i + 1 < len) && (ch == '=' && line[i+1] == '?')) goto needquote; -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Greg KH | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Andrew Morton | Re: 2.6.23-rc6-mm1 |
| Luciano Rocha | usb hdd problems with 2.6.27.2 |
git: | |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Andrew Morton | Re: [BUG] New Kernel Bugs |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | [PATCH take 2] pkt_sched: Protect gen estimators under est_lock. |
