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

builtin/shortlog.c
index f78bb4818d7a5254d7c3c2c34d1f370cd3aa9327..7cff1839fc15f46d58c9f78361f362d1d790cbd9 100644 (file)
@@ -149,7 +149,6 @@ void shortlog_add_commit(struct shortlog *log, struct commit *commit)
        ctx.fmt = CMIT_FMT_USERFORMAT;
        ctx.abbrev = log->abbrev;
        ctx.print_email_subject = 1;
-       ctx.after_subject = "";
        ctx.date_mode.type = DATE_NORMAL;
        ctx.output_encoding = get_log_output_encoding();