Code

Update draft release notes to 1.7.10
[git.git] / builtin / diff.c
index 81b6baec7472ff34c8ee5c9630f697f9897bd747..424c815f9bc2ca8f87eb4694d1375b949b635170 100644 (file)
@@ -285,8 +285,9 @@ int cmd_diff(int argc, const char **argv, const char *prefix)
        /* Otherwise, we are doing the usual "git" diff */
        rev.diffopt.skip_stat_unmatch = !!diff_auto_refresh_index;
 
-       /* Scale to real terminal size */
+       /* Scale to real terminal size and respect statGraphWidth config */
        rev.diffopt.stat_width = -1;
+       rev.diffopt.stat_graph_width = -1;
 
        /* Default to let external and textconv be used */
        DIFF_OPT_SET(&rev.diffopt, ALLOW_EXTERNAL);