Re: bug: git submodule add fails when .git is a symlink
- From
Stefan Beller <sbeller@google.com>
- Date
- Mar 1, 2016, 21:39 UTC
- Message-ID
- <CAGZ79kY6Lf6u0=s8J_cqRNFsry4nu2SdL0GZ2gkFsu6gBrB65Q@mail.gmail.com>
- In-Reply-To
- <20160301204218.GA4083@kitenet.net>
On Tue, Mar 1, 2016 at 12:42 PM, Joey Hess <id@joeyh.name> wrote:
Show 9 quoted lines
> git init gitdir > mkdir worktree > cd worktree > ln -s ../gitdir/.git .git > git submodule add /any/git/repo sub > > fatal: Could not chdir to '../../../sub': No such file or directory > > Fairly sure this is a bug..
Which version(s) of Git do you use?