Increate the default git sync-depth from 1 to 10, to ensure that
gentoo-mirror git clones retain at least a single original signed
commit.
---
 pym/portage/sync/modules/git/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pym/portage/sync/modules/git/__init__.py 
b/pym/portage/sync/modules/git/__init__.py
index d5eb5c6..54070fc 100644
--- a/pym/portage/sync/modules/git/__init__.py
+++ b/pym/portage/sync/modules/git/__init__.py
@@ -18,7 +18,7 @@ class CheckGitConfig(CheckSyncConfig):
        def check_depth(self):
                d = self.repo.sync_depth
                # default
-               self.repo.sync_depth = 1
+               self.repo.sync_depth = 10
 
                if d is not None:
                        try:
-- 
2.10.2


Reply via email to