summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2018-01-12 13:37:20 +0000
committerNick Thomas <nick@gitlab.com>2018-01-12 13:58:15 +0000
commitd1c01fe80b3dc94a82a62b563dbda3ebd751a033 (patch)
treec9e1d0b73578704ed1beb619bd277794f05a0087 /hooks
parent73e2cf531ca8b92dc48da5024c8095256aa10818 (diff)
downloadgitlab-shell-d1c01fe80b3dc94a82a62b563dbda3ebd751a033.tar.gz
Remove direct redis integration
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/pre-receive2
1 files changed, 0 insertions, 2 deletions
diff --git a/hooks/pre-receive b/hooks/pre-receive
index d7fecc7..d113697 100755
--- a/hooks/pre-receive
+++ b/hooks/pre-receive
@@ -13,8 +13,6 @@ def increase_reference_counter(gl_repository, repo_path)
result = GitlabNet.new.pre_receive(gl_repository)
result['reference_counter_increased']
-rescue GitlabNet::NotFound
- GitlabReferenceCounter.new(repo_path).increase
end
require_relative '../lib/gitlab_custom_hook'