diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-03-10 21:24:24 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-10 21:24:24 (GMT) |
commit | 0a246106802b147ad81626f52c0aaa37398ba918 (patch) | |
tree | b15fe8d0ddbbd14775c6fb430a96a80b2404f213 /builtin/shortlog.c | |
parent | 44c3f09fa501ccd83e3362080a99ad4b46cda127 (diff) | |
parent | 6d167fd7ccb84f07a0bd57d8e188a651e913b158 (diff) | |
download | git-0a246106802b147ad81626f52c0aaa37398ba918.zip git-0a246106802b147ad81626f52c0aaa37398ba918.tar.gz git-0a246106802b147ad81626f52c0aaa37398ba918.tar.bz2 |
Merge branch 'rs/log-email-subject'
Code clean-up.
* rs/log-email-subject:
pretty: use fmt_output_email_subject()
log-tree: factor out fmt_output_email_subject()
Diffstat (limited to 'builtin/shortlog.c')
-rw-r--r-- | builtin/shortlog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/shortlog.c b/builtin/shortlog.c index c9585d4..f78bb48 100644 --- a/builtin/shortlog.c +++ b/builtin/shortlog.c @@ -148,7 +148,7 @@ void shortlog_add_commit(struct shortlog *log, struct commit *commit) 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(); |