]> git.ipfire.org Git - thirdparty/git.git/blobdiff - log-tree.c
config.c: handle error case for fstat() calls
[thirdparty/git.git] / log-tree.c
index 78a5381d0eaebb9092a8bb456fa656462ec65170..8d393150c094f55638e4035e9c6121973d3ce9db 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)