Remove shallow clone fetch

This commit is contained in:
Adrien M. BERNEDE 2023-02-27 11:48:58 +01:00
parent cbf2cb1a49
commit ecdde4a7fb

View File

@ -863,7 +863,7 @@ def clone(self, dest=None, commit=None, branch=None, tag=None, bare=False):
with working_dir(dest): with working_dir(dest):
# By defaults, on all references are fetched by the clone # By defaults, on all references are fetched by the clone
fetch_args = ["fetch", "origin", "--depth 1", commit] fetch_args = ["fetch", "origin", commit]
git(*fetch_args) git(*fetch_args)
checkout_args = ["checkout", commit] checkout_args = ["checkout", commit]
if not debug: if not debug: