fsmonitor: MINGW support for watchman integration
[gitweb.git] / t / t7519 / fsmonitor-watchman
index 7ceb32dc181b644d705c59f23c8708d51bc965f4..cca3d71e9073a655350e2522eb6075c0c46216ea 100755 (executable)
@@ -36,7 +36,7 @@ my $system = `uname -s`;
 $system =~ s/[\r\n]+//g;
 my $git_work_tree;
 
-if ($system =~ m/^MSYS_NT/) {
+if ($system =~ m/^MSYS_NT/ || $system =~ m/^MINGW/) {
        $git_work_tree = `cygpath -aw "\$PWD"`;
        $git_work_tree =~ s/[\r\n]+//g;
        $git_work_tree =~ s,\\,/,g;