summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-03-28 13:52:27 -0700
committerJunio C Hamano <gitster@pobox.com>2017-03-28 13:52:28 -0700
commitfb0ab976c6ffcea3b7b15dd668c6cac2e4e3bdc9 (patch)
treee7ad47f441d89a8d715fa666e07d1468cfabc8b6
parent1c91ec0b8ea750584b4657b9a38413e02b3956ad (diff)
parentd41626ff9ef54db6582c398b14209c556df4ddfc (diff)
downloadgit-fb0ab976c6ffcea3b7b15dd668c6cac2e4e3bdc9.tar.gz
Merge branch 'rs/shortlog-cleanup' into maint
Code clean-up. * rs/shortlog-cleanup: shortlog: don't set after_subject to an empty string
-rw-r--r--builtin/shortlog.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/shortlog.c b/builtin/shortlog.c
index c9585d475d..677f372083 100644
--- a/builtin/shortlog.c
+++ b/builtin/shortlog.c
@@ -149,7 +149,6 @@ void shortlog_add_commit(struct shortlog *log, struct commit *commit)
ctx.fmt = CMIT_FMT_USERFORMAT;
ctx.abbrev = log->abbrev;
ctx.subject = "";
- ctx.after_subject = "";
ctx.date_mode.type = DATE_NORMAL;
ctx.output_encoding = get_log_output_encoding();