1 |
Increate the default git sync-depth from 1 to 10, to ensure that |
2 |
gentoo-mirror git clones retain at least a single original signed |
3 |
commit. |
4 |
--- |
5 |
pym/portage/sync/modules/git/__init__.py | 2 +- |
6 |
1 file changed, 1 insertion(+), 1 deletion(-) |
7 |
|
8 |
diff --git a/pym/portage/sync/modules/git/__init__.py b/pym/portage/sync/modules/git/__init__.py |
9 |
index d5eb5c6..54070fc 100644 |
10 |
--- a/pym/portage/sync/modules/git/__init__.py |
11 |
+++ b/pym/portage/sync/modules/git/__init__.py |
12 |
@@ -18,7 +18,7 @@ class CheckGitConfig(CheckSyncConfig): |
13 |
def check_depth(self): |
14 |
d = self.repo.sync_depth |
15 |
# default |
16 |
- self.repo.sync_depth = 1 |
17 |
+ self.repo.sync_depth = 10 |
18 |
|
19 |
if d is not None: |
20 |
try: |
21 |
-- |
22 |
2.10.2 |