pretty: --format output should honor logOutputEncoding
[gitweb.git] / submodule.c
index 1821a5b3160bd3a3e60f328b50b56a0208b2df9c..78734e148699fcd5d9755fe4baf3a11c6e022c8e 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) {