Show More
@@ -53,9 +53,10 b' class GitTunnelWrapper(object):' | |||||
53 |
|
53 | |||
54 | scm_extras = self.server.update_environment(action=action, extras=extras) |
|
54 | scm_extras = self.server.update_environment(action=action, extras=extras) | |
55 |
|
55 | |||
56 | hook_response = hooks.git_pre_pull(scm_extras) |
|
56 | if action == "pull": | |
57 | pre_pull_messages = hook_response.output |
|
57 | hook_response = hooks.git_pre_pull(scm_extras) | |
58 | sys.stdout.write(pre_pull_messages) |
|
58 | pre_pull_messages = hook_response.output | |
|
59 | sys.stdout.write(pre_pull_messages) | |||
59 |
|
60 | |||
60 | self.create_hooks_env() |
|
61 | self.create_hooks_env() | |
61 | result = subprocess.run(self.command(), shell=True) |
|
62 | result = subprocess.run(self.command(), shell=True) |
General Comments 0
You need to be logged in to leave comments.
Login now