Thread (192 messages) flat view 192 messages, 22 authors, 2016-08-11

Re: [RFC] Submodules in GIT

From: Andreas Ericsson <hidden>
Date: 2016-08-11 20:42:21

Martin Waitz wrote:
hoi :)

On Fri, Dec 01, 2006 at 02:43:16PM +0100, Andreas Ericsson wrote:
quoted
So a commit in the supermodule turns into a commit in the submodule? 
no.
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help