Code

diff --stat: add config option to limit graph width
[git.git] / t / t4052-stat-output.sh
index 3d823af38f11bff3e9e617a9b5eb32e6667bc343..328aa8f39865fb90d4b54991f158affa9cf2e1dc 100755 (executable)
@@ -112,6 +112,12 @@ do
                grep " | " output >actual &&
                test_cmp "$expect" actual
        '
+
+       test_expect_success "$cmd $verb statGraphWidth config" '
+               git -c diff.statGraphWidth=26 $cmd $args >output
+               grep " | " output >actual &&
+               test_cmp "$expect" actual
+       '
 done <<\EOF
 ignores expect80 format-patch -1 --stdout
 respects expect40 diff HEAD^ HEAD --stat