submodule-helper: fix indexing in clone retry error reporting path
[gitweb.git] / log-tree.c
index 48daf84d3b495502eb38795fe69426cf978c5896..9f678abc92a82ce8c0feac6b66044291b730aac9 100644 (file)
@@ -687,6 +687,8 @@ void show_log(struct rev_info *opt)
        ctx.output_encoding = get_log_output_encoding();
        if (opt->from_ident.mail_begin && opt->from_ident.name_begin)
                ctx.from_ident = &opt->from_ident;
+       if (opt->graph)
+               ctx.graph_width = graph_width(opt->graph);
        pretty_print_commit(&ctx, commit, &msgbuf);
 
        if (opt->add_signoff)