From: Junio C Hamano Date: Fri, 12 Feb 2016 18:19:38 GMT Subject: Re: `.git` symlink makes `git submodule add` fail Message-ID: In-Reply-To: Junio C Hamano writes: > Vít Novotný writes: > >> Is this a bug, or is the ability to symlink `.git` just a happy coincidence? > > It has never been supported. Oops, hit "send" too early. We have support for a "gitdir:" facility that would work even on a filesystem that cannot do symlinks (see gitrepository-layout(5)), and both the higher-level submodule Porcelain and the more recent "worktree" experimental code do use it.