Re: [RFC] Submodules in GIT
- From
- sf <sf@b-i-t.de>
- Date
- Dec 1, 2006, 11:45 UTC
- Message-ID
- <ekp4l0$idb$1@sea.gmane.org>
- In-Reply-To
- <20061201111027.GR12463MdfPADPa@greensroom.kotnet.org>
Sven Verdoolaege wrote:
Show 14 quoted lines
> On Fri, Dec 01, 2006 at 11:02:15AM +0000, Andy Parkins wrote: >> On Friday 2006 December 01 10:42, Sven Verdoolaege wrote: >> >> > He showed it to you in the example. The "submodule object" is the COMMIT >> > of the submodule itself. >> >> That's no different from mine. I need more detail than that. > > You were proposing to create an extra object containing some random value > that is disconnected from the repo. > >> Is that commit in the submodule or the supermodule? > > It's in BOTH. That's why it's a *sub*module.
I would say it is only in the supermodule because that is the branch you are working on. If you are working on the submodule in an independent branch then you can pull from the submodule commit. But you do not want to pull the supermodule commit itself but only the commit in path libxcb (see my proposed syntax).
Regards
Stephan