Re: [RFC] Submodules in GIT
- From
Yann Dirson <ydirson@altern.org>
- Date
- Nov 23, 2006, 23:23 UTC
- Message-ID
- <20061123232313.GB24909@nan92-1-81-57-214-146.fbx.proxad.net>
- In-Reply-To
- <20061122034056.GB23856@spearce.org>
On Tue, Nov 21, 2006 at 10:40:56PM -0500, Shawn Pearce wrote:
Show 7 quoted lines
> Yet we still want to be able to efficiently perform operations like > "git bisect" within the scope of that submodule, to help narrow down > a particular bug that is within that submodule. To do that we need > the commit chain (all 10,000 of those commits) in the submodule. > To get those we really need a commit-ish and not a tree-ish, as > going from a tree-ish to a commit-ish is not only not unique but > is also pretty infeasible to do (you need to scan *every* commit).
We don't need to have commits in the tree for this. We'll just have submodule commits which are not attached to a supermodule commit, and we can access the whole submodule history through the submodule .git/HEAD, just like we do for a standard git project.
Or do I miss something else ?
Best regards,