Hi, On Fri, 1 Aug 2008, Andrew Morton wrote:$ git log --pretty=email after this patch: -- snipsnap -- pretty.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/pretty.c b/pretty.c index 33ef34a..ba50b54 100644 --- a/pretty.c +++ b/pretty.c @@ -140,14 +140,20 @@ void pp_user_info(const char *what, enum cmit_fmt fmt, struct strbuf *sb, if (fmt == CMIT_FMT_EMAIL) { char *name_tail = strchr(line, '<'); int display_name_length; + int need_quotes; if (!name_tail) return; while (line < name_tail && isspace(name_tail[-1])) name_tail--; display_name_length = name_tail - line; + need_quotes = !!memchr(line, ',', display_name_length); filler = ""; strbuf_addstr(sb, "From: "); + if (need_quotes) + strbuf_addch(sb, '"'); add_rfc2047(sb, line, display_name_length, encoding); + if (need_quotes) + strbuf_addch(sb, '"'); strbuf_add(sb, name_tail, namelen - display_name_length); strbuf_addch(sb, '\n'); } else { -- 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 | [GIT PATCH] driver core patches against 2.6.24 |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Srivatsa Vaddagiri | containers (was Re: -mm merge plans for 2.6.23) |
| Benjamin Herrenschmidt | Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway |
git: | |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Patrick McHardy | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 6/7] [CCID-2/3]: Fix sparse warnings |
