difftool: Disable --symlinks on cygwin
[gitweb.git] / git-difftool.perl
index 6f8bb73cd6a3925bba575be429d231a7e160e623..17d4de661820e8c7ae24694a21458be825b1ac9a 100755 (executable)
@@ -338,7 +338,8 @@ sub main
                gui => undef,
                help => undef,
                prompt => undef,
-               symlinks => $^O ne 'MSWin32' && $^O ne 'msys',
+               symlinks => $^O ne 'cygwin' &&
+                               $^O ne 'MSWin32' && $^O ne 'msys',
                tool_help => undef,
        );
        GetOptions('g|gui!' => \$opts{gui},