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
1 On Wed, May 23, 2012 at 07:58:17PM +0300, Alexey Shvetsov wrote:
2 > Isnt git works with shallow clone? like
3 > # git clone --depth 1 <or any other desired value>
4 > git+ssh://gitrepo.uri::repo
5 >
6 > So you can clone in this manner and push changes back
7 >
8 > Also for depth = 1 pack size will be similar to gzipped rsync snapshot
9 > (~40M)
10 The shallow clone is still a shallow clone of the entire repo, and you
11 get the subtree checkout as just part of that.
12
13 Shallow clones are also read-only last I checked.
14
15 --
16 Robin Hugh Johnson
17 Gentoo Linux: Developer, Trustee & Infrastructure Lead
18 E-Mail : robbat2@g.o
19 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>