Re: [RFC] Submodules in GIT
- From
Andreas Ericsson <ae@op5.se>
- Date
- Dec 1, 2006, 16:38 UTC
- Message-ID
- <45705A94.2070509@op5.se>
- In-Reply-To
- <20061201150045.GZ18810@admingilde.org>
Martin Waitz wrote:
Show 16 quoted lines
> hoi :) > > On Fri, Dec 01, 2006 at 03:52:29PM +0100, Andreas Ericsson wrote: >>> 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. > > Of course. > > But if the supermodule contains changes to the submodule, you still > have to change the submodule. And this implies changing the submodule > HEAD or some branch. >
Not really. I fail to see why HEAD needs to be changed so long as the commit is in the submodule's odb.
-- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se