summaryrefslogtreecommitdiff
path: root/log-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'log-tree.c')
-rw-r--r--log-tree.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/log-tree.c b/log-tree.c
index 5ab821c8f3..254fb285d3 100644
--- a/log-tree.c
+++ b/log-tree.c
@@ -276,7 +276,11 @@ void log_write_email_headers(struct rev_info *opt, struct commit *commit,
subject = "Subject: ";
}
- printf("From %s Mon Sep 17 00:00:00 2001\n", name);
+ if (opt->inline_single)
+ printf("-- >8 --\n");
+ else
+ printf("From %s Mon Sep 17 00:00:00 2001\n", name);
+
graph_show_oneline(opt->graph);
if (opt->message_id) {
printf("Message-Id: <%s>\n", opt->message_id);
@@ -600,6 +604,7 @@ void show_log(struct rev_info *opt)
ctx.fmt = opt->commit_format;
ctx.mailmap = opt->mailmap;
ctx.color = opt->diffopt.use_color;
+ ctx.inline_single = opt->inline_single;
pretty_print_commit(&ctx, commit, &msgbuf);
if (opt->add_signoff)