Re: [RFC] Submodules in GIT
- From
Martin Waitz <tali@admingilde.org>
- Date
- Nov 21, 2006, 19:32 UTC
- Message-ID
- <20061121193248.GJ20736@admingilde.org>
- In-Reply-To
- <20061121180127.GB27221@fieldses.org>
On Tue, Nov 21, 2006 at 01:01:27PM -0500, J. Bruce Fields wrote:
Show 10 quoted lines
> On Tue, Nov 21, 2006 at 12:33:34AM +0100, Martin Waitz wrote: > > On Mon, Nov 20, 2006 at 06:25:07PM -0500, J. Bruce Fields wrote: > > > Would it also be possible to allow the "Tree:" line in the commit object > > > to refer to a commit, or does the root of the project need to be a > > > special case? > > > > this would then be something like the branch-archival proposal. > > Do you have any pointers to previous discussion? (A couple obvious > searches don't turn up anything for me.)
Aug 04 Eric W. Biederman [RFC][PATCH] Branch history
I really think that using subprojects can be used for this workflow, too. But adding a submodule directly to the root is not really possible, we'd have to use special user interfaces for that, even when the git-core might be able to handle it. But what might be possible is to have one toplevel history-tracking repository in e.g. ~/src and then add all the repositories you work with as a submodule. Whenever you want to record the history of some project, you can simply commit it to ~/src.
-- Martin Waitz