Re: [RFC] Submodules in GIT
- From
Andreas Ericsson <ae@op5.se>
- Date
- Dec 1, 2006, 14:52 UTC
- Message-ID
- <457041AD.4010601@op5.se>
- In-Reply-To
- <20061201134610.GW18810@admingilde.org>
Martin Waitz wrote:
Show 11 quoted lines
> hoi :) > > On Fri, Dec 01, 2006 at 02:43:16PM +0100, Andreas Ericsson wrote: >> So a commit in the supermodule turns into a commit in the submodule? > > no. > >> If it doesn't, why would the submodule HEAD have to change? > > So how do you update your submodule? >
By committing to it separately, or by getting changes from the upstream project (openssl, libcurl, ...).
> Remember: if you git-pull in the supermodule, you want to update the > whole thing, including all submodules. >
Only if the new commits I pull into the supermodule DAG has commits which includes a new shapshot of the submodule, otherwise it wouldn't be necessary.
-- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se