From: Erik Faye-Lund Date: Thu, 26 Jul 2012 11:31:05 GMT Subject: Re: [PATCH 3/3] difftool: Disable --symlinks on cygwin Message-ID: In-Reply-To: <1343186064-49350-4-git-send-email-davvid@gmail.com> On Wed, Jul 25, 2012 at 5:14 AM, David Aguilar wrote: > Symlinks are not ubiquitous on Windows so make --no-symlinks the default. > > Signed-off-by: David Aguilar > --- > I don't have cygwin so I can't verify this one myself. > Is 'cygwin' really the value of $^O there? > > git-difftool.perl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/git-difftool.perl b/git-difftool.perl > index 591ee75..10d3d97 100755 > --- a/git-difftool.perl > +++ b/git-difftool.perl > @@ -291,7 +291,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', I thought Cygwin supported (their own version of) symlinks? What's the rationale for not using it by default there?