Skip to content
Snippets Groups Projects
Commit 3c1bce16 authored by Filippo Cremonese's avatar Filippo Cremonese
Browse files

Remove debug statements

parent df524595
No related branches found
No related tags found
No related merge requests found
......@@ -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"])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment