Re: Relative submodule URLs vs. clone URL DWIMming
- From
Johan Herland <johan@herland.net>
- Date
- Aug 30, 2008, 23:23 UTC
- Message-ID
- <200808310123.48018.johan@herland.net>
- In-Reply-To
- <7vhc92f8ay.fsf@gitster.siamese.dyndns.org>
On Sunday 31 August 2008, Junio C Hamano wrote:
> Johan Herland <johan@herland.net> writes: > I personally feel that cases that involve cloning from non-bare > repositories (and in addition, DWIMmed repositories), with or without > nested submodules, are not worth supporting.
Ok. I guess that's fair. Such a decision should definitely be documented appropriately in the submodule documentation, though.
I guess this also means you don't plan to do anything about the difference in origin URLs produced by "git clone" for the following two cases:
$ git clone /repo/foo bar
$ grep -B1 url bar/.git/config
[remote "origin"]
url = /repo/foo/.gitvs.
$ git clone file:///repo/foo bar
$ grep -B1 url bar/.git/config
[remote "origin"]
file:///home/johan/git/fooHmm?
...Johan
-- Johan Herland, <johan@herland.net> www.herland.net