Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: <gentoo-dev@g.o>
From: Alexey Shvetsov <alexxy@g.o>
Subject: Re: Portage Git migration - clean cut or git-cvsserver
Date: Wed, 23 May 2012 20:22:48 +0300
Robin H. Johnson писал 2012-05-23 20:19:
> On Wed, May 23, 2012 at 07:58:17PM +0300, Alexey Shvetsov wrote:
>> Isnt git works with shallow clone? like
>> # git clone --depth 1 <or any other desired value>
>> git+ssh://gitrepo.uri::repo
>>
>> So you can clone in this manner and push changes back
>>
>> Also for depth = 1 pack size will be similar to gzipped rsync 
>> snapshot
>> (~40M)
> The shallow clone is still a shallow clone of the entire repo, and 
> you
> get the subtree checkout as just part of that.
>
> Shallow clones are also read-only last I checked.

That isnt true =) you can commit from shallow clone  if and only if 
original repo doesnt have a branching and merging points before and 
after shallow clone point respectively
-- 
Best Regards,
Alexey 'Alexxy' Shvetsov
Petersburg Nuclear Physics Institute, NRC Kurchatov Institute, 
Gatchina, Russia
Department of Molecular and Radiation Biophysics
Gentoo Team Ru
Gentoo Linux Dev
mailto:alexxyum@...
mailto:alexxy@g.o
mailto:alexxy@...


Replies:
Re: Portage Git migration - clean cut or git-cvsserver
-- Chí-Thanh Christopher Nguyễn
Re: Portage Git migration - clean cut or git-cvsserver
-- Rich Freeman
References:
Portage Git migration - clean cut or git-cvsserver
-- Michael Weber
Re: Portage Git migration - clean cut or git-cvsserver
-- Alexey Shvetsov
Re: Portage Git migration - clean cut or git-cvsserver
-- Robin H. Johnson
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Portage Git migration - clean cut or git-cvsserver
Next by thread:
Re: Portage Git migration - clean cut or git-cvsserver
Previous by date:
Re: Portage Git migration - clean cut or git-cvsserver
Next by date:
Re: Portage Git migration - clean cut or git-cvsserver


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.