Gentoo Archives: gentoo-user

From: Martin Vaeth <martin@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Portage, git and shallow cloning
Date: Sat, 14 Jul 2018 14:54:53
Message-Id: slrnpkk3la.3a6.martin@clover.invalid
In Reply to: Re: [gentoo-user] Portage, git and shallow cloning by Peter Humphrey
1 Peter Humphrey <peter@××××××××××××.uk> wrote:
2 > On Friday, 6 July 2018 06:34:01 BST Davyd McColl wrote:
3 >
4 >> 1) `sync-depth` has been deprecated (should now use `clone-depth`)
5 >
6 > [...] And why is the recent news item referring to instructions
7 > to use sync-depth?
8
9 Things have changed with portage-2.3.42:
10 sync-depth is again supported (in addition to clone-depth).
11 clone-depth is for the first cloning,
12 sync-depth is for the runnnig system.
13
14 The strategy which I had mentioned (with --merge) is used if sync-depth
15 is set (and nonzero).
16
17 Only the git index for people with overlayfs is still missing, although
18 there are plans to introduce this also, optionally.