fast-export: make extra_refs global
[gitweb.git] / log-tree.c
index 60f32a3965feeba30bd7ba7ba724c5d7dfd52be8..a49d8e895d3ad24f00e8504ec3eccfbddead6b4c 100644 (file)
@@ -618,6 +618,8 @@ void show_log(struct rev_info *opt)
        ctx.mailmap = opt->mailmap;
        ctx.color = opt->diffopt.use_color;
        ctx.output_encoding = get_log_output_encoding();
+       if (opt->from_ident.mail_begin && opt->from_ident.name_begin)
+               ctx.from_ident = &opt->from_ident;
        pretty_print_commit(&ctx, commit, &msgbuf);
 
        if (opt->add_signoff)