summaryrefslogtreecommitdiffstats
path: root/git_superproject.py
diff options
context:
space:
mode:
Diffstat (limited to 'git_superproject.py')
-rw-r--r--git_superproject.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git_superproject.py b/git_superproject.py
index 7f0582cb..89320971 100644
--- a/git_superproject.py
+++ b/git_superproject.py
@@ -121,7 +121,7 @@ class Superproject(object):
121 print('git fetch missing drectory: %s' % self._work_git, 121 print('git fetch missing drectory: %s' % self._work_git,
122 file=sys.stderr) 122 file=sys.stderr)
123 return False 123 return False
124 cmd = ['fetch', url, '--force', '--no-tags', '--filter', 'blob:none'] 124 cmd = ['fetch', url, '--depth', '1', '--force', '--no-tags', '--filter', 'blob:none']
125 if self._branch: 125 if self._branch:
126 cmd += [self._branch + ':' + self._branch] 126 cmd += [self._branch + ':' + self._branch]
127 p = GitCommand(None, 127 p = GitCommand(None,