pack: convert struct pack_idx_entry to struct object_id
[gitweb.git] / builtin / shortlog.c
index c9585d475d90c41554465f870e530c16ab93199f..7cff1839fc15f46d58c9f78361f362d1d790cbd9 100644 (file)
@@ -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();