Re: Relative submodule URLs vs. clone URL DWIMming

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Johan Herland <johan@xxxxxxxxxxx> 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.

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux