Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
difftool: address a couple of resource/memory leaks
[gitweb.git]
/
builtin
/
shortlog.c
diff --git
a/builtin/shortlog.c
b/builtin/shortlog.c
index c9585d475d90c41554465f870e530c16ab93199f..7cff1839fc15f46d58c9f78361f362d1d790cbd9 100644
(file)
--- a/
builtin/shortlog.c
+++ b/
builtin/shortlog.c
@@
-148,8
+148,7
@@
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.print_email_subject = 1;
ctx.date_mode.type = DATE_NORMAL;
ctx.output_encoding = get_log_output_encoding();