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 e2045cfd..157a1fbb 100644
--- a/git_superproject.py
+++ b/git_superproject.py
@@ -63,7 +63,7 @@ class Superproject(object):
63 True if 'git clone <url> <branch>' is successful, or False. 63 True if 'git clone <url> <branch>' is successful, or False.
64 """ 64 """
65 os.mkdir(self._superproject_path) 65 os.mkdir(self._superproject_path)
66 cmd = ['clone', url, '--filter', 'blob:none'] 66 cmd = ['clone', url, '--depth', '1']
67 if branch: 67 if branch:
68 cmd += ['--branch', branch] 68 cmd += ['--branch', branch]
69 p = GitCommand(None, 69 p = GitCommand(None,