From: Junio C Hamano Date: Sat, 30 Aug 2008 23:45:16 GMT Subject: Re: Relative submodule URLs vs. clone URL DWIMming Message-ID: <7vabeuf4oj.fsf@gitster.siamese.dyndns.org> In-Reply-To: <200808310123.48018.johan@herland.net> Johan Herland writes: > $ 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.