git clone doesn't work in symlink dir roots on Windows
- From
Sedat Kapanoglu <sedat@eksiteknoloji.com>
- Date
- Aug 10, 2013, 12:10 UTC
- Message-ID
- <CABJxLaM9t1HeEVkAiXpOmaOH_V6681w9Q9ZQt37+MpmhX7yN2g@mail.gmail.com>
Hi,
I verified this behavior on Git 1.7.8 and 1.8.3.
My D:\src folder is a symlink to another folder in my Google Drive, created by Windows command mklink /d d:\src "d:\Google Drive\src"
D:\src>git clone https://github.com/jlewallen/jenkins-hipchat-plugin.git Cloning into 'jenkins-hipchat-plugin'... fatal: Invalid symlink 'D:/src': Function not implemented
The same error is shown with the bash prompt too:
$ git clone https://github.com/jlewallen/jenkins-hipchat-plugin.git Cloning into 'jenkins-hipchat-plugin'... fatal: Invalid symlink 'd:/src': Function not implemented
If I go one directory below (D:\src\somethingelse) the command works fine but not at the root of the symlink directory.
Thanks,
Sedat