mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-02-17 08:32:35 +08:00
Update scanner.py
Added measures to limit the amount of things downloaded from git.
This commit is contained in:
parent
f75384ecdd
commit
65e17a3c3f
@ -259,7 +259,7 @@ def clone_or_pull_git_repository(git_url):
|
||||
print(f"Pulling {repo_name} failed: {e}")
|
||||
else:
|
||||
try:
|
||||
Repo.clone_from(git_url, repo_dir, recursive=True)
|
||||
Repo.clone_from(git_url, repo_dir, multi_options = ["--depth=1", "--single-branch" "--recurse-submodules"])
|
||||
print(f"Cloning {repo_name}...")
|
||||
except Exception as e:
|
||||
print(f"Cloning {repo_name} failed: {e}")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user