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

And the way to convince git to make the link for you is with clone's
"--separate-git-dir" option.

-Peff
--
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/majordomo-info.html

Reply via email to