Fixes #16760: datasource git on local file system fails

This commit is contained in:
Albert Siersema 2024-07-10 14:42:44 +02:00
parent 4ca1494127
commit 7e008b502c

View File

@ -97,6 +97,9 @@ class GitBackend(DataBackend):
"password": self.params.get('password'), "password": self.params.get('password'),
} }
) )
elif not self.url_scheme:
clone_args["depth"] = None
del(clone_args["quiet"])
logger.debug(f"Cloning git repo: {self.url}") logger.debug(f"Cloning git repo: {self.url}")
try: try: