Merge branch 'rs/shortlog-cleanup'
authorJunio C Hamano <gitster@pobox.com>
Fri, 24 Mar 2017 20:07:37 +0000 (13:07 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 24 Mar 2017 20:07:37 +0000 (13:07 -0700)
Code clean-up.

* rs/shortlog-cleanup:
shortlog: don't set after_subject to an empty string

1  2 
builtin/shortlog.c
diff --combined builtin/shortlog.c
index f78bb4818d7a5254d7c3c2c34d1f370cd3aa9327,677f372083c0f726b0d773ca502a4d6e09cb98eb..7cff1839fc15f46d58c9f78361f362d1d790cbd9
@@@ -148,8 -148,7 +148,7 @@@ void shortlog_add_commit(struct shortlo
  
        ctx.fmt = CMIT_FMT_USERFORMAT;
        ctx.abbrev = log->abbrev;
 -      ctx.subject = "";
 +      ctx.print_email_subject = 1;
-       ctx.after_subject = "";
        ctx.date_mode.type = DATE_NORMAL;
        ctx.output_encoding = get_log_output_encoding();