partial clone for submodules added in git 2.36.0
This commit is contained in:
parent
8e23a553e5
commit
cb3dba445a
@ -16,7 +16,7 @@ def _git_version():
|
|||||||
|
|
||||||
|
|
||||||
clone_supports_filter = (
|
clone_supports_filter = (
|
||||||
False if "NO_USE_CLONE_FILTER" in os.environ else _git_version() >= (2, 27, 0)
|
False if "NO_USE_CLONE_FILTER" in os.environ else _git_version() >= (2, 36, 0)
|
||||||
)
|
)
|
||||||
|
|
||||||
if clone_supports_filter:
|
if clone_supports_filter:
|
||||||
|
Loading…
Reference in New Issue
Block a user