Commit a56125b0 authored by AUTOMATIC1111's avatar AUTOMATIC1111 Committed by GitHub

Merge pull request #14930 from RedDeltas/feat/launch_utils/file_mode_for_clone

Added core.filemode=false so doesn't track changes in file permission…
parents b7f45e67 18ec22bf
...@@ -188,7 +188,7 @@ def git_clone(url, dir, name, commithash=None): ...@@ -188,7 +188,7 @@ def git_clone(url, dir, name, commithash=None):
return return
try: try:
run(f'"{git}" clone "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}", live=True) run(f'"{git}" clone --config core.filemode=false "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}", live=True)
except RuntimeError: except RuntimeError:
shutil.rmtree(dir, ignore_errors=True) shutil.rmtree(dir, ignore_errors=True)
raise raise
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment