Thread (23 messages) flat view 23 messages, 6 authors, 2016-06-15

Re: [RFC] Third round of support for cloning submodules

From: Sven Verdoolaege <hidden>
Date: 2016-06-15 22:43:11

On Sun, May 20, 2007 at 11:24:32PM +0200, Alex Riesen wrote:
Sven Verdoolaege, Sun, May 20, 2007 23:09:54 +0200:
quoted
On Sun, May 20, 2007 at 10:54:44PM +0200, Alex Riesen wrote:
quoted
Sven Verdoolaege, Sun, May 20, 2007 21:59:30 +0200:
quoted
quoted
I am very worried about this big red switch that says "all
subprojects to be cloned and checked out, or nothing".  I think
this would not work well with projects that truly need
superproject support (i.e. very large ones, where most people
would not want to clone and check out every single subproject).
It's pretty easy to add a "submodule.*.skip" or "submodule.*.ignore".
Since the subcloning only happens at checkout, you could set these
before doing a checkout.
And set them back after doing the checkout?
What do you mean?  Why would you set them back?
Why should I set them before doing a checkout?
quoted
I guess I'm missing something.
"checkout" is an operation which is done often. It never had to be
configured before.
There is going to have to be *some* way of selecting which
subprojects you want to check out.  A config option that you
have to set only once (or not at all if you are happy with
the default) seems to be the easiest way.  You can have git-gui
set them for you if you want.

How would _you_ specify which subprojects to checkout ?
quoted
Well... the subproject as a whole is independent of the superproject,
but the checkout in the superproject is not entirely independent.
Junio was talking about branch in subproject, wasn't he?
That's a local thing.

skimo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help