Re: [RFC] Third round of support for cloning submodules
- From
- Sven Verdoolaege <skimo@kotnet.org>
- Date
- May 21, 2007, 10:01 UTC
- Message-ID
- <20070521100146.GJ942MdfPADPa@greensroom.kotnet.org>
- In-Reply-To
- <4650EA2E.7070204@midwinter.com>
On Sun, May 20, 2007 at 05:39:10PM -0700, Steven Grimm wrote:
Show 9 quoted lines
> Sven Verdoolaege wrote: > >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. > > > > Can I take this to mean that you intend the default behavior to be to > check out all subprojects, with individual ones suppressed via > configuration as needed?
Or we could have a tri-state variable, with "yes" meaning handle the submodule, "no" don't, and undefined meaning do whatever is specified by the global submodules option. Explicitly checking out a submodule could then set the variable to "yes".
skimo