Subject: Re: `.git` symlink makes `git submodule add` fail

From: Vít Novotný <[email-masked]>
Date: Fri, 12 Feb 2016 19:36:47 +0100

On Fri, Feb 12, 2016 at 10:19:38AM -0800, Junio C Hamano wrote:
> Junio C Hamano <[email-masked]> writes:
> 
> > Vít Novotný <[email-masked]> 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.
> 

That sounds ideal, thank you for letting me know. Still, I believe that
well-behaved applications should be indifferent to symlinks, unless the
distinction is significant. Would there be any objections, if I
submitted a patch / series of patches that would add proper symlink
support?