This commit is contained in:
Lucas Cimon 2017-09-22 18:07:39 +00:00 committed by GitHub
commit f029fe5b9f

View file

@ -141,7 +141,7 @@ class Store(object):
"""Clone the given url and checkout the specific ref.""" """Clone the given url and checkout the specific ref."""
def clone_strategy(directory): def clone_strategy(directory):
cmd_output( cmd_output(
'git', 'clone', '--no-checkout', repo, directory, 'git', 'clone', '--no-checkout', '--depth', '1', repo, directory,
env=no_git_env(), env=no_git_env(),
) )
with cwd(directory): with cwd(directory):