tree-diff: remove the use of pathspec's raw[] in follow-rename codepath
[gitweb.git] / submodule.c
index 86854248983be78b3702f5045a659dfe83bf4446..85415d0057402d40c4c9e98e3c94c41eb8dd940f 100644 (file)
@@ -226,6 +226,7 @@ static void print_submodule_summary(struct rev_info *rev, FILE *f,
        while ((commit = get_revision(rev))) {
                struct pretty_print_context ctx = {0};
                ctx.date_mode = rev->date_mode;
+               ctx.output_encoding = get_log_output_encoding();
                strbuf_setlen(&sb, 0);
                strbuf_addstr(&sb, line_prefix);
                if (commit->object.flags & SYMMETRIC_LEFT) {