Re: Failure cloning from a separate-git-dir repository
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:51:51
Nguyen Thai Ngoc Duy [off-list ref] writes:
On Sun, Aug 21, 2011 at 1:56 AM, Richard Tibbitt [off-list ref] wrote:quoted
call git clone repo2git\.git clone2 fatal: repository 'repo2git\.git' does not exist I guess this must be a peculiarity of msysgit on windows.Yes. Try "call git clone repo2git/.git clone2" (forward slash). The forward slash is hard coded some places in git-clone. I just want to make sure you dont hit another problem.
As "fetch from bundle" (2e0afaf (Add git-bundle: move objects and references by archive, 2007-02-22)) predates the "gitdir:" support (b44ebb1 (Add platform-independent .git "symlink", 2008-02-20)) by a wide margin, I wouldn't be surprised at all if the logic went "If the name can be stat()ed and is a regular file, it must be a bundle. Otherwise it is a local clone if it is a directory. All else ask the transport and see what it says". Why can't it be "git clone repo2git clone2" in the first place?