tech-repository archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: The essential problems of moving from CVS



On 2010-01-16 01:32 +0000 (Sat), Thomas Adam wrote:

> On Sat, Jan 16, 2010 at 01:25:03AM +0000, David Holland wrote:
> > On Fri, Jan 15, 2010 at 03:08:28PM +0900, Curt Sampson wrote:
> > > For git, I'd forgotten about the lack of subtree checkouts. But that one
> > > I do not believe is going to be solved technically; the idea is just
> > > too incompatable with the git model.
> > 
> > Maybe. Mercurial has new subtree stuff out. It's pretty raw so far,
> > but it's being worked on and it will probably improve.
> 
> Subtree support is coming to Git in the way of "sparse checkouts" which has
> currently graduated to git.git's master branch last I read.

The only sparse checkout support I'm aware of is a project that appears to
have been abandoned in mid-2008. No code relating to sparse checkouts or
subtree checkout support has ever made it into the git development repo,
as far as I can tell. (I just now looked at the lastest version of the master
branch from git://git.kernel.org/pub/scm/git/git.git).

I would not count on ever getting subtree checkout support in git. It
just doesn't work with git's model.

That said, there are methods that allow you to git a similar
effect with a little bit of extra work. One example is git-subtree
(http://github.com/bronson/git-subtree).

cjs
-- 
Curt Sampson         <cjs%cynic.net@localhost>         +81 90 7737 2974
             http://www.starling-software.com
The power of accurate observation is commonly called cynicism
by those who have not got it.    --George Bernard Shaw


Home | Main Index | Thread Index | Old Index