{"thread":{"id":"45417","subject":"[PATCH] shortlog: don't set after_subject to an empty string","startedAt":"2017-03-17T23:53:01Z","lastAt":"2017-03-17T23:53:01Z","messageCount":1,"participants":["René Scharfe"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"314426","messageId":"209e03fd-07ae-8e06-3da6-52093495db43@web.de","threadId":"45417","inReplyTo":null,"subject":"[PATCH] shortlog: don't set after_subject to an empty string","fromName":"René Scharfe","fromEmail":"l.s.r@web.de","sentAt":"2017-03-17T23:52:28Z","receivedAt":"2017-03-17T23:53:01Z","isPatch":true,"sender":{"key":"l.s.r@web.de","avatar":"https://avatars.githubusercontent.com/u/26122331?v=4"},"body":"The string after_subject is added to a strbuf by pp_title_line() if\nit's not NULL.  Adding an empty string has the same effect as not\nadding anything, but the latter is easier, so don't bother changing\nthe context member from NULL to \"\".\n\nSigned-off-by: Rene Scharfe <l.s.r@web.de>\n---\n builtin/shortlog.c | 1 -\n 1 file changed, 1 deletion(-)\n\ndiff --git a/builtin/shortlog.c b/builtin/shortlog.c\nindex f78bb4818d..7cff1839fc 100644\n--- a/builtin/shortlog.c\n+++ b/builtin/shortlog.c\n@@ -149,7 +149,6 @@ void shortlog_add_commit(struct shortlog *log, struct commit *commit)\n \tctx.fmt = CMIT_FMT_USERFORMAT;\n \tctx.abbrev = log->abbrev;\n \tctx.print_email_subject = 1;\n-\tctx.after_subject = \"\";\n \tctx.date_mode.type = DATE_NORMAL;\n \tctx.output_encoding = get_log_output_encoding();\n \n-- \n2.12.0\n\n"}]}