Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: Relative submodule URLs vs. clone URL DWIMming

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:16

Possibly related (same subject, not in this thread)

Johan Herland [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help