git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bug: git submodule add fails when .git is a symlink
@ 2016-03-01 20:42 Joey Hess
  2016-03-01 21:39 ` Stefan Beller
  0 siblings, 1 reply; 9+ messages in thread
From: Joey Hess @ 2016-03-01 20:42 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 279 bytes --]

        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..

-- 
see shy jo

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 811 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-04-20 17:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-01 20:42 bug: git submodule add fails when .git is a symlink Joey Hess
2016-03-01 21:39 ` Stefan Beller
2016-03-01 21:49   ` Stefan Beller
2016-03-01 23:14     ` Joey Hess
2016-03-01 21:50   ` Junio C Hamano
2016-03-01 23:17     ` Joey Hess
2016-03-02  8:49       ` Jeff King
2016-04-20 16:41         ` Stefan Beller
2016-04-20 17:31           ` Stefan Beller

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).