diff options
-rw-r--r-- | project.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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)) |