Re: question about git-submodule
- From
VMiklos <vmiklos@frugalware.org>
- Date
- Jul 15, 2007, 14:26 UTC
- Message-ID
- <20070715142624.GF7106@genesis.frugalware.org>
- In-Reply-To
- <20070715140244.GF999MdfPADPa@greensroom.kotnet.org>
Hello,
Na Sun, Jul 15, 2007 at 04:02:44PM +0200, Sven Verdoolaege <skimo@kotnet.org> pisal(a):
Show 8 quoted lines
> On Sun, Jul 15, 2007 at 03:54:53PM +0200, VMiklos wrote: > > that's what i asked originally :) i believed that one is supposed to use > > git-submodule update to pull each submodule, but it does not seems to > > do so. my question is still about if it is possible to pull each > > submodule using a single command > > Maybe you should explain in a bit more detail what you are trying > to do.
ok :) so i have a repo and i add a submodule in the libfoo dir. when i add it, git will clone the repo, that's fine. it would be nice to have a command (i thought git submodule update would do it for me) which would pull in the repo _and_ would pull in the libfoo dir, too
currently if you have 10 submodules, you need to updated each of them manually, and having a feature to all of them at once would be nice (of course it's fine if this is not the default when using git pull in the "main" repo)
thanks, - VMiklos