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

2016-02-13 Thread Jeff King
On Sat, Feb 13, 2016 at 05:20:09AM +0100, Vít Novotný wrote: > On Fri, Feb 12, 2016 at 01:27:33PM -0500, Jeff King wrote: > > On Fri, Feb 12, 2016 at 10:19:38AM -0800, Junio C Hamano wrote: > > > > > >> Is this a bug, or is the ability to symlink `.git` just a happy > > > >> coincidence? > > > >

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

2016-02-12 Thread Vít Novotný
On Fri, Feb 12, 2016 at 01:27:33PM -0500, Jeff King wrote: > On Fri, Feb 12, 2016 at 10:19:38AM -0800, Junio C Hamano wrote: > > > >> 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. >

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

2016-02-12 Thread Vít Novotný
On Fri, Feb 12, 2016 at 10:19:38AM -0800, Junio C Hamano wrote: > 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 suppor

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

2016-02-12 Thread Jeff King
On Fri, Feb 12, 2016 at 10:19:38AM -0800, Junio C Hamano wrote: > >> 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 > fi

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

2016-02-12 Thread Junio C Hamano
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

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

2016-02-12 Thread Junio C Hamano
Vít Novotný writes: > Is this a bug, or is the ability to symlink `.git` just a happy coincidence? It has never been supported. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/m

`.git` symlink makes `git submodule add` fail

2016-02-12 Thread Vít Novotný
Hi, $ uname -a Linux witiko 4.3.0-1-amd64 #1 SMP Debian 4.3.5-1 (2016-02-06) x86_64 GNU/Linux $ git --version git version 2.7.0 I tend to make `.git` a symlink, when I need to maintain several Git repositories inside a single directory. This was always transparent