All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "Vít Novotný" <witiko@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: `.git` symlink makes `git submodule add` fail
Date: Fri, 12 Feb 2016 10:19:38 -0800	[thread overview]
Message-ID: <xmqq60xtvlj9.fsf@gitster.mtv.corp.google.com> (raw)
In-Reply-To: <xmqqio1tvlzu.fsf@gitster.mtv.corp.google.com> (Junio C. Hamano's message of "Fri, 12 Feb 2016 10:09:41 -0800")

Junio C Hamano <gitster@pobox.com> writes:

> Vít Novotný <witiko@gmail.com> 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.

  reply	other threads:[~2016-02-12 18:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-12 16:48 `.git` symlink makes `git submodule add` fail Vít Novotný
2016-02-12 18:09 ` Junio C Hamano
2016-02-12 18:19   ` Junio C Hamano [this message]
2016-02-12 18:27     ` Jeff King
2016-02-13  4:20       ` Vít Novotný
2016-02-13 18:52         ` Jeff King
2016-02-12 18:36     ` Vít Novotný

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqq60xtvlj9.fsf@gitster.mtv.corp.google.com \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=witiko@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.