diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-03-10 22:24:24 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-10 22:24:24 +0100 |
commit | 0a246106802b147ad81626f52c0aaa37398ba918 (patch) | |
tree | b15fe8d0ddbbd14775c6fb430a96a80b2404f213 /builtin/shortlog.c | |
parent | Merge branch 'tg/stash-push' (diff) | |
parent | pretty: use fmt_output_email_subject() (diff) | |
download | git-0a246106802b147ad81626f52c0aaa37398ba918.tar.xz git-0a246106802b147ad81626f52c0aaa37398ba918.zip |
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 c9585d475d..f78bb4818d 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(); |