summaryrefslogtreecommitdiff
path: root/hooks/pre-receive
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/pre-receive')
-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'