login
Header Space

 
 

Re: Notes on Using Git with Subprojects

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Daniel Barkalow <barkalow@...>
Cc: A Large Angry SCM <gitzilla@...>, <git@...>
Date: Tuesday, September 26, 2006 - 5:30 pm

Daniel Barkalow <barkalow@iabervon.org> wrote:

I agree entirely.

I have about 30 "subprojects" tacked into one large Git repository
for this exact reason.  In at least 5 of these cases they shouldn't
be sharing a Git repository as by all rights they are different
projects.

What I'm doing is sort of like tacking both the Linux kernel and
glibc into the same Git repository because you might need to change
and bisect over updates to the system call layer.  Insane, yes.
Probably shouldn't be done; but right now that interface layer
between several subprojects is still in flux and it makes it rather
easy to keep everything in sync.

Its annoying to perform commits to the "root project" every time the
subproject changes.  And it brings some complexity when you want to
talk about merging that root project.  But if its automated as part
of "git commit" and "git merge" (either directly in those tools or
by hooks users can install) then its probbaly a non issue.

-- 
Shawn.
-
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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Notes on Using Git with Subprojects, A Large Angry SCM, (Tue Sep 26, 1:40 pm)
Re: Notes on Using Git with Subprojects, A Large Angry SCM, (Sun Oct 1, 1:19 am)
Re: Notes on Using Git with Subprojects, Daniel Barkalow, (Tue Sep 26, 5:23 pm)
Re: Notes on Using Git with Subprojects, A Large Angry SCM, (Tue Sep 26, 6:07 pm)
Re: Notes on Using Git with Subprojects, Shawn Pearce, (Tue Sep 26, 5:30 pm)
Re: Notes on Using Git with Subprojects, A Large Angry SCM, (Tue Sep 26, 6:33 pm)
Re: Notes on Using Git with Subprojects, Martin Waitz, (Wed Sep 27, 4:06 am)
Re: Notes on Using Git with Subprojects, A Large Angry SCM, (Wed Sep 27, 12:58 pm)
Re: Notes on Using Git with Subprojects, Martin Waitz, (Thu Sep 28, 3:37 am)
Re: Notes on Using Git with Subprojects, A Large Angry SCM, (Thu Sep 28, 4:30 pm)
Re: Notes on Using Git with Subprojects, Martin Waitz, (Fri Sep 29, 3:04 am)
Re: Notes on Using Git with Subprojects, Jeff King, (Wed Sep 27, 1:33 pm)
Re: Notes on Using Git with Subprojects, A Large Angry SCM, (Wed Sep 27, 11:47 pm)
Re: Notes on Using Git with Subprojects, Shawn Pearce, (Wed Sep 27, 11:52 pm)
Re: Notes on Using Git with Subprojects, Johannes Schindelin, (Thu Sep 28, 11:39 am)
Re: Notes on Using Git with Subprojects, Jeff King, (Wed Sep 27, 11:52 pm)
Re: Notes on Using Git with Subprojects, Shawn Pearce, (Wed Sep 27, 11:58 pm)
Re: Notes on Using Git with Subprojects, Jeff King, (Thu Sep 28, 12:00 am)
Re: Notes on Using Git with Subprojects, Shawn Pearce, (Thu Sep 28, 12:09 am)
Re: Notes on Using Git with Subprojects, Johannes Schindelin, (Wed Sep 27, 5:55 am)
Re: Notes on Using Git with Subprojects, A Large Angry SCM, (Wed Sep 27, 1:13 pm)
Re: Notes on Using Git with Subprojects, Johannes Schindelin, (Wed Sep 27, 7:14 pm)
Re: Notes on Using Git with Subprojects, Shawn Pearce, (Wed Sep 27, 7:36 pm)
Re: Notes on Using Git with Subprojects, A Large Angry SCM, (Thu Sep 28, 12:48 am)
Re: Notes on Using Git with Subprojects, Rogan Dawes, (Wed Sep 27, 7:55 pm)
Re: Notes on Using Git with Subprojects, A Large Angry SCM, (Thu Sep 28, 1:02 am)
Re: Notes on Using Git with Subprojects, Shawn Pearce, (Wed Sep 27, 8:36 pm)
Re: Notes on Using Git with Subprojects, Martin Waitz, (Wed Sep 27, 7:38 am)
Re: Notes on Using Git with Subprojects, Johannes Schindelin, (Wed Sep 27, 8:01 am)
Re: Notes on Using Git with Subprojects, Martin Waitz, (Wed Sep 27, 8:46 am)
Re: Notes on Using Git with Subprojects, Johannes Schindelin, (Wed Sep 27, 9:13 am)
Re: Notes on Using Git with Subprojects, Sven Verdoolaege, (Wed Sep 27, 8:44 am)
Re: Notes on Using Git with Subprojects, Junio C Hamano, (Wed Sep 27, 5:05 pm)
Re: Notes on Using Git with Subprojects, Jeff King, (Thu Sep 28, 4:16 pm)
Re: Notes on Using Git with Subprojects, Michael S. Tsirkin, (Thu Sep 28, 11:02 am)
Re: Notes on Using Git with Subprojects, Johannes Schindelin, (Tue Sep 26, 4:25 pm)
Re: Notes on Using Git with Subprojects, A Large Angry SCM, (Tue Sep 26, 6:01 pm)
Re: Notes on Using Git with Subprojects, Johannes Schindelin, (Tue Sep 26, 6:13 pm)
Re: Notes on Using Git with Subprojects, A Large Angry SCM, (Tue Sep 26, 6:45 pm)
speck-geostationary