aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRedDeltas <160131179+RedDeltas@users.noreply.github.com>2024-02-15 12:26:14 +0000
committerRedDeltas <160131179+RedDeltas@users.noreply.github.com>2024-02-15 12:26:14 +0000
commit18ec22bffea77158777c3a3225e632e25eb33138 (patch)
tree3208313956c6f1b076fbb2998c9b522ceefd305f /modules
parentb7f45e67dcf48914d2f34d4ace977a431a5aa12e (diff)
Added core.filemode=false so doesn't track changes in file permissions in more restrictive environments
Diffstat (limited to 'modules')
-rw-r--r--modules/launch_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/launch_utils.py b/modules/launch_utils.py
index 107c72b0..ad04eb36 100644
--- a/modules/launch_utils.py
+++ b/modules/launch_utils.py
@@ -188,7 +188,7 @@ def git_clone(url, dir, name, commithash=None):
return
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:
shutil.rmtree(dir, ignore_errors=True)
raise