]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t4014-format-patch.sh
format-patch: ignore ui.color
[thirdparty/git.git] / t / t4014-format-patch.sh
index 92248d24c48a65ab89a5b0ad255357f6034e6ad4..15bd4a648a43fc92bdf872055fa2f3d40647681c 100755 (executable)
@@ -869,4 +869,12 @@ test_expect_success 'empty subject prefix does not have extra space' '
        test_cmp expect actual
 '
 
+test_expect_success 'format patch ignores color.ui' '
+       test_unconfig color.ui &&
+       git format-patch --stdout -1 >expect &&
+       test_config color.ui always &&
+       git format-patch --stdout -1 >actual &&
+       test_cmp expect actual
+'
+
 test_done