mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-13 20:26:29 +00:00
Recursively git clone addon repositories, allowing submodules (#148)
This commit is contained in:
parent
2f9f9c6165
commit
14013ac923
@ -48,7 +48,8 @@ class GitRepo(object):
|
||||
try:
|
||||
_LOGGER.info("Clone addon %s repository", self.url)
|
||||
self.repo = await self.loop.run_in_executor(
|
||||
None, git.Repo.clone_from, self.url, str(self.path))
|
||||
None, git.Repo.clone_from, self.url, str(self.path),
|
||||
recursive=True)
|
||||
|
||||
except (git.InvalidGitRepositoryError, git.NoSuchPathError,
|
||||
git.GitCommandError) as err:
|
||||
|
Loading…
x
Reference in New Issue
Block a user