fix(ssh): add pull fix into pre_pull hook
This commit is contained in:
parent
034377cec3
commit
8534f3602b
1 changed files with 4 additions and 3 deletions
|
|
@ -53,9 +53,10 @@ class GitTunnelWrapper(object):
|
|||
|
||||
scm_extras = self.server.update_environment(action=action, extras=extras)
|
||||
|
||||
hook_response = hooks.git_pre_pull(scm_extras)
|
||||
pre_pull_messages = hook_response.output
|
||||
sys.stdout.write(pre_pull_messages)
|
||||
if action == "pull":
|
||||
hook_response = hooks.git_pre_pull(scm_extras)
|
||||
pre_pull_messages = hook_response.output
|
||||
sys.stdout.write(pre_pull_messages)
|
||||
|
||||
self.create_hooks_env()
|
||||
result = subprocess.run(self.command(), shell=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue