diff --git a/orchestra/actions/clone.py b/orchestra/actions/clone.py index eedfc2c8f58de565d9f3a0d2e1e37407272a6ae8..ef60ea80bb8cbdb0881adb630946654798b6240e 100644 --- a/orchestra/actions/clone.py +++ b/orchestra/actions/clone.py @@ -26,21 +26,7 @@ class CloneAction(Action): checkout_cmds.append(f'git -C "$SOURCE_DIR" checkout -b "{branch}" "origin/{branch}"') checkout_cmds.append("true") script += " || \\\n ".join(checkout_cmds) - - from textwrap import dedent - debug_prelude = dedent(""" - export GIT_TRACE=2 - export GIT_CURL_VERBOSE=2 - export GIT_TRACE_PERFORMANCE=2 - export GIT_TRACE_PACK_ACCESS=2 - export GIT_TRACE_PACKET=2 - export GIT_TRACE_PACKFILE=2 - export GIT_TRACE_SETUP=2 - export GIT_TRACE_SHALLOW=2 - - """) return script - return debug_prelude + script def _is_satisfied(self): return os.path.exists(self.environment["SOURCE_DIR"])