aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rhodecode/lib/middleware/simplegit.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/rhodecode/lib/middleware/simplegit.py b/rhodecode/lib/middleware/simplegit.py
index e35f95ae..32068140 100644
--- a/rhodecode/lib/middleware/simplegit.py
+++ b/rhodecode/lib/middleware/simplegit.py
@@ -228,11 +228,10 @@ class SimpleGit(BaseVCSController):
self.__inject_extras(repo_path, baseui, extras)
try:
+ self._handle_githooks(repo_name, action, baseui, environ)
# invalidate cache on push
if action == 'push':
self._invalidate_cache(repo_name)
- self._handle_githooks(repo_name, action, baseui, environ)
-
log.info('%s action on GIT repo "%s" by "%s" from %s' %
(action, repo_name, username, ip_addr))
app = self.__make_app(repo_name, repo_path, extras)