pretty: --format output should honor logOutputEncoding
[gitweb.git] / log-tree.c
index 1946e9ce8d88b73f134490760f76e00b63f1be69..5277d3e8d08f492f0bbc1f68fcc39f77106867ad 100644 (file)
@@ -616,6 +616,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();
        pretty_print_commit(&ctx, commit, &msgbuf);
 
        if (opt->add_signoff)