X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=log-tree.c;h=e9457019d5ac7aff1e185e195f37b851732f6210;hb=701825de23da2bff6c784d33ff27f75e802abd81;hp=296f417dfcc2fe966527064aa4a95dc96a8eca2d;hpb=1c9d71944a7a35cdfeb09200b20e261737cdc0b9;p=git.git diff --git a/log-tree.c b/log-tree.c index 296f417df..e9457019d 100644 --- a/log-tree.c +++ b/log-tree.c @@ -485,8 +485,10 @@ void show_log(struct rev_info *opt) ctx.date_mode = opt->date_mode; ctx.abbrev = opt->diffopt.abbrev; ctx.after_subject = extra_headers; + ctx.preserve_subject = opt->preserve_subject; ctx.reflog_info = opt->reflog_info; - pretty_print_commit(opt->commit_format, commit, &msgbuf, &ctx); + ctx.fmt = opt->commit_format; + pretty_print_commit(&ctx, commit, &msgbuf); if (opt->add_signoff) append_signoff(&msgbuf, opt->add_signoff);