summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--project.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/project.py b/project.py
index 319a710f..8b02b7c5 100644
--- a/project.py
+++ b/project.py
@@ -1749,6 +1749,9 @@ class Project(object):
1749 depth = self.clone_depth 1749 depth = self.clone_depth
1750 else: 1750 else:
1751 depth = self.manifest.manifestProject.config.GetString('repo.depth') 1751 depth = self.manifest.manifestProject.config.GetString('repo.depth')
1752 # The repo project should never be synced with partial depth
1753 if self.relpath == '.repo/repo':
1754 depth = None
1752 1755
1753 if depth: 1756 if depth:
1754 current_branch_only = True 1757 current_branch_only = True