git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git clone doesn't work in symlink dir roots on Windows

From
Fredrik Gustafsson <iveqy@iveqy.com>
Date
Aug 10, 2013, 12:51 UTC
Message-ID
<20130810125140.GD25779@paksenarrion.iveqy.com>
In-Reply-To
<CABJxLaM9t1HeEVkAiXpOmaOH_V6681w9Q9ZQt37+MpmhX7yN2g@mail.gmail.com>
On Sat, Aug 10, 2013 at 03:10:49PM +0300, Sedat Kapanoglu wrote:
Show 6 quoted lines
> 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

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 you're using a decentralized tool in a centralized work flow. Maybe something like subversion would suite you better. (or just simple use a hosting service such as github/bitbucket/your own server).

However I can't find that error message in the git source code which make me wonder if this actually is a git problem. Could you investigate more on where that error message comes from?

Using dropbox git users have experienced corrupt repositories due to the dropbox sync algoritm isn't suited for the git file access patterns, I would imagine that you could have the same problems using google drive.

-- 
Med vänliga hälsningar
Fredrik Gustafsson

tel: 0733-608274
e-post: iveqy@iveqy.com
Previous: Sedat KapanogluNext: Sedat Kapanoglu
Message 2 of 12 in “git clone doesn't work in symlink dir roots on Windows”
  1. Sedat KapanogluAug 10, 2013
  2. Fredrik GustafssonAug 10, 2013
  3. Sedat KapanogluAug 10, 2013
  4. Sedat KapanogluAug 10, 2013
  5. Fredrik GustafssonAug 10, 2013
  6. Erik Faye-LundAug 11, 2013
  7. Sedat KapanogluAug 11, 2013
  8. Erik Faye-LundAug 11, 2013
  9. Michael GeddesAug 20, 2013
  10. MNGoldenEagleAug 23, 2013
  11. MichaelAug 28, 2013
  12. MNGoldenEagleSep 8, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.