Re: Relative submodule URLs vs. clone URL DWIMming
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 30, 2008, 23:45 UTC
- Message-ID
- <7vabeuf4oj.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <200808310123.48018.johan@herland.net>
Johan Herland <johan@herland.net> writes:
Show 13 quoted lines
> $ git clone /repo/foo bar > $ grep -B1 url bar/.git/config > [remote "origin"] > url = /repo/foo/.git > > vs. > > $ git clone file:///repo/foo bar > $ grep -B1 url bar/.git/config > [remote "origin"] > file:///home/johan/git/foo > > Hmm?
If you mean "the latter lacks 'url =' and is broken", and if that is what happens, then it needs to be fixed. But otherwise, I do not personally find these differences interesting.
But that does not mean I'd veto if somebody else cares deeply enough and comes up with a clean solution.