Re: [RFC] Submodules in GIT

From: Martin Waitz <tali@admingilde.org>
Date: 2006-11-22 06:32:48
On Tue, Nov 21, 2006 at 01:01:27PM -0500, J. Bruce Fields wrote:
> 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

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Received on Wed Nov 22 06:32:57 2006

This archive was generated by hypermail 2.1.8 : 2006-11-22 06:39:01 EST