Remove shallow clone fetch
This commit is contained in:
parent
cbf2cb1a49
commit
ecdde4a7fb
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user