Gentoo Archives: gentoo-dev

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Portage Git migration - clean cut or git-cvsserver
Date: Wed, 23 May 2012 17:20:49
Message-Id: robbat2-20120523T171736-815309794Z@orbis-terrarum.net
In Reply to: Re: [gentoo-dev] Portage Git migration - clean cut or git-cvsserver by Alexey Shvetsov
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. -- Robin Hugh Johnson Gentoo Linux: Developer, Trustee & Infrastructure Lead E-Mail : robbat2@g.o GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85

Replies

Subject Author
Re: [gentoo-dev] Portage Git migration - clean cut or git-cvsserver Alexey Shvetsov <alexxy@g.o>