Code

diff --stat: add config option to limit graph width
[git.git] / builtin / log.c
index 075a427b71326a26ab7d2fcd2d18bd11bbfa72ec..8a47012b0bd2fefe616c44b918d16a18463b5d2a 100644 (file)
@@ -78,6 +78,7 @@ static void cmd_log_init_defaults(struct rev_info *rev)
        rev->verbose_header = 1;
        DIFF_OPT_SET(&rev->diffopt, RECURSIVE);
        rev->diffopt.stat_width = -1; /* use full terminal width */
+       rev->diffopt.stat_graph_width = -1; /* respect statGraphWidth config */
        rev->abbrev_commit = default_abbrev_commit;
        rev->show_root_diff = default_show_root;
        rev->subject_prefix = fmt_patch_subject_prefix;