diff --git a/t/t7800-difftool.sh b/t/t7800-difftool.sh index ec8bc8c7656fd7..5e5bb10d87881b 100755 --- a/t/t7800-difftool.sh +++ b/t/t7800-difftool.sh @@ -10,6 +10,14 @@ Testing basic diff tool invocation . ./test-lib.sh +if test_have_prereq MINGW +then + # Avoid posix-to-windows path mangling + pwd () { + builtin pwd + } +fi + difftool_test_setup () { test_config diff.tool test-tool &&