From: Alex Riesen Date: Sun, 15 Jul 2007 10:47:12 GMT Subject: Re: question about git-submodule Message-ID: <20070715104712.GF2568@steel.home> In-Reply-To: <20070715083959.GC999MdfPADPa@greensroom.kotnet.org> Sven Verdoolaege, Sun, Jul 15, 2007 10:39:59 +0200: > On Fri, Jul 13, 2007 at 11:46:30PM +0200, VMiklos wrote: > > i mean, first i thought that after configuring a submodule under libfoo, > > then a git pull will update libfoo's repo under libfoo, too. or > > something like that. > > Unless I've missed something, it doesn't. > Some of use would like git to do just that (at least Alex Riesen, > Martin Waitz and myself have sent in patches to that effect), > but we haven't been able to convince Junio yet. Count me out. Junio convinced me instead and having tried the subprojects I find it really convenient: I can choose when and what should be updated and I can see what _can_ be updated, iff I decide to. Subprojects defined in such a loosely way are more flexible then having git-pull fetch subprojects by default. Sometimes I even want be _sure_ the subprojects are completely untouched (I have some critical parts in them).