Code

diff --stat: enable limiting of the graph part
[git.git] / t / t4052-stat-output.sh
index 9a8f62dde3116970be438911d7501c533931ebd8..3d823af38f11bff3e9e617a9b5eb32e6667bc343 100755 (executable)
@@ -136,6 +136,12 @@ do
                grep " | " output >actual &&
                test_cmp expect actual
        '
+
+       test_expect_success "$cmd --stat-graph--width with big change" '
+               git $cmd $args --stat-graph-width=26 >output
+               grep " | " output >actual &&
+               test_cmp expect actual
+       '
 done <<\EOF
 format-patch -1 --stdout
 diff HEAD^ HEAD --stat