Re: git clone doesn't work in symlink dir roots on Windows
- From
Fredrik Gustafsson <iveqy@iveqy.com>
- Date
- Aug 10, 2013, 16:34 UTC
- Message-ID
- <20130810163459.GE25779@paksenarrion.iveqy.com>
- In-Reply-To
- <CABJxLaOaUYxyAsy5mpciiAObmoazFpwB0T4C20cu3eHuSpEpAg@mail.gmail.com>
On Sat, Aug 10, 2013 at 07:22:03PM +0300, Sedat Kapanoglu wrote:
Show 17 quoted lines
> > git is a disk intense program, so this setup is not sane at all. With > > that said I know that git on windows historically had problems with > > working on smb-mounted shares (sometimes you're forced to have stupid > > setups). I doubt that git really is the right tool for your work, since > > I reproduced the same problem in a regular symlink directory. Repro steps: > > mkdir actualdir > mklink /d symdir actualdir > cd symdir > git init . > > fatal: Invalid symlink 'D:/gitto': Function not implemented > > Thanks, > > Sedat
Good, then we can determinate that this is a symlink error, it seams that readlink() isn't implemented in the msysgit version of msysgit.
However msysgit should have a implementation of readlink() according to: http://mingw.5.n7.nabble.com/Replacement-for-readlink-td30679.html
I've CC:ed the msysgit-maillist so that they can decide if this is something they want to address in newer releases.
(In the git source code the readlink call in this abspath.c)
-- Med vänliga hälsningar Fredrik Gustafsson tel: 0733-608274 e-post: iveqy@iveqy.com