[prev in list] [next in list] [prev in thread] [next in thread]
List: git
Subject: Re: Location-agnostic submodules
From: Pierre Thierry <pierre () nothos ! net>
Date: 2012-04-30 22:02:44
Message-ID: 20120430220244.GL22827 () pape ! arcanes ! fr ! eu ! org
[Download RAW message or body]
Scribit Phil Hord dies 30/04/2012 hora 16:39:
> Maybe something like this:
> [submodule "foo"]
> path = foo-mod
> url = ../foo ../foo-alternate
> https://someplace.com/git/foo.git https://kernel.org/git/foo
<rant>That is typically the kind of occasion when I wish every config
file were sexprs...</rant>
> But if one of them lags behind the others by a day or even an hour,
> then you may have gitlinks in your superproject which have not made
> it into the lagging mirror yet. And this will cause problems.
I see your point, but what if your only repository is lagging behind?
I.e. in what way is it worse than now?
> Moreover, each time you clone the repository you may get different
> results. This would be confusing.
Again, I fail to see the difference with the current state. If the
commit is specified, you will always get the same results, now or with
my suggested addition.
> I don't think there is any need for a new 'clone' command since the
> clone porcelain already understands submodules.
What do you mean? When I clone a repo with submodules, they are not
cloned as well.
--
pierre@nothos.net
OpenPGP 0xD9D50D8A
["signature.asc" (application/pgp-signature)]
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic