* Symbilic links support
@ 2011-10-25 17:49 Alexey Kuznetsov
2011-10-25 18:16 ` Eric Blake
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Kuznetsov @ 2011-10-25 17:49 UTC (permalink / raw)
To: cygwin
By default git checkout files created as symbolic links on linux
system as symbolic links. Under windows it does not work.
I expect on cygwin machines after git checkout I will get normal links
can be readed as 'ls -al' command. But they actually appears as normal
files.
-- AK
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Symbilic links support
2011-10-25 17:49 Symbilic links support Alexey Kuznetsov
@ 2011-10-25 18:16 ` Eric Blake
0 siblings, 0 replies; 2+ messages in thread
From: Eric Blake @ 2011-10-25 18:16 UTC (permalink / raw)
To: cygwin
On 10/25/2011 11:48 AM, Alexey Kuznetsov wrote:
> By default git checkout files created as symbolic links on linux
> system as symbolic links. Under windows it does not work.
>
> I expect on cygwin machines after git checkout I will get normal links
> can be readed as 'ls -al' command. But they actually appears as normal
> files.
Does adding this to your ~/.gitconfig help?
[core]
filemode = true
If so, we need to push back on the upstream git folks to tell them that
their defaults on cygwin are wrong, for any repository that wants to use
symlinks. Upstream git is playing nasty tricks of trying to go behind
cygwin's back, and use native windows functions instead of stat() for
speed, but as a result of those games, they break symlink support.
I guess I should look into packaging the latest upstream git soon,
anyways, and as part of that packaging, I'll see if I can tweak the
default to avoid the brain-dead upstream "optimization", at least for
out-of-the-box configuration, if that does indeed fix your problem.
--
Eric Blake eblake@redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-25 18:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-25 17:49 Symbilic links support Alexey Kuznetsov
2011-10-25 18:16 ` Eric Blake
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).