diff --git a/log-tree.c b/log-tree.c
index 296f417dfcc2fe966527064aa4a95dc96a8eca2d..e9457019d5ac7aff1e185e195f37b851732f6210 100644 (file)
--- a/log-tree.c
+++ b/log-tree.c
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);