summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'project.py')
-rw-r--r--project.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/project.py b/project.py
index 1245fa2a..d11a3c94 100644
--- a/project.py
+++ b/project.py
@@ -1865,7 +1865,8 @@ class Project(object):
1865 1865
1866 shallowfetch = self.config.GetString('repo.shallowfetch') 1866 shallowfetch = self.config.GetString('repo.shallowfetch')
1867 if shallowfetch and shallowfetch != ' '.join(spec): 1867 if shallowfetch and shallowfetch != ' '.join(spec):
1868 GitCommand(self, ['fetch', '--unshallow', name] + shallowfetch.split(), 1868 GitCommand(self, ['fetch', '--depth=2147483647', name]
1869 + shallowfetch.split(),
1869 bare=True, ssh_proxy=ssh_proxy).Wait() 1870 bare=True, ssh_proxy=ssh_proxy).Wait()
1870 if depth: 1871 if depth:
1871 self.config.SetString('repo.shallowfetch', ' '.join(spec)) 1872 self.config.SetString('repo.shallowfetch', ' '.join(spec))