git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fredrik Gustafsson <iveqy@iveqy.com>
To: Sedat Kapanoglu <sedat@eksiteknoloji.com>
Cc: Fredrik Gustafsson <iveqy@iveqy.com>,
	git@vger.kernel.org, msysgit@googlegroups.com
Subject: Re: git clone doesn't work in symlink dir roots on Windows
Date: Sat, 10 Aug 2013 18:34:59 +0200	[thread overview]
Message-ID: <20130810163459.GE25779@paksenarrion.iveqy.com> (raw)
In-Reply-To: <CABJxLaOaUYxyAsy5mpciiAObmoazFpwB0T4C20cu3eHuSpEpAg@mail.gmail.com>

On Sat, Aug 10, 2013 at 07:22:03PM +0300, Sedat Kapanoglu wrote:
> > 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

  parent reply	other threads:[~2013-08-10 16:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-10 12:10 git clone doesn't work in symlink dir roots on Windows Sedat Kapanoglu
2013-08-10 12:51 ` Fredrik Gustafsson
2013-08-10 16:22   ` Sedat Kapanoglu
2013-08-10 16:22     ` Sedat Kapanoglu
2013-08-10 16:34     ` Fredrik Gustafsson [this message]
2013-08-11  3:04       ` Erik Faye-Lund
2013-08-11  7:28         ` Sedat Kapanoglu
2013-08-11 14:05           ` Erik Faye-Lund
2013-08-20  7:30       ` Michael Geddes
2013-08-23 19:12         ` MNGoldenEagle
2013-08-28  0:54           ` Michael
2013-09-08 23:40             ` MNGoldenEagle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130810163459.GE25779@paksenarrion.iveqy.com \
    --to=iveqy@iveqy.com \
    --cc=git@vger.kernel.org \
    --cc=msysgit@googlegroups.com \
    --cc=sedat@eksiteknoloji.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).