summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'project.py')
-rw-r--r--project.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/project.py b/project.py
index e5dbf25e..9d67dead 100644
--- a/project.py
+++ b/project.py
@@ -1370,6 +1370,13 @@ class Project(object):
1370 ref_dir = None 1370 ref_dir = None
1371 1371
1372 cmd = ['fetch'] 1372 cmd = ['fetch']
1373
1374 # The --depth option only affects the initial fetch; after that we'll do
1375 # full fetches of changes.
1376 depth = self.manifest.manifestProject.config.GetString('repo.depth')
1377 if depth and initial:
1378 cmd.append('--depth=%s' % depth)
1379
1373 if quiet: 1380 if quiet:
1374 cmd.append('--quiet') 1381 cmd.append('--quiet')
1375 if not self.worktree: 1382 if not self.worktree: