fast-export: make extra_refs global
[gitweb.git] / log-tree.c
index 67da27f909067132c79fdc028679895e280b7ab1..a49d8e895d3ad24f00e8504ec3eccfbddead6b4c 100644 (file)
@@ -617,6 +617,7 @@ void show_log(struct rev_info *opt)
        ctx.fmt = opt->commit_format;
        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);