Commit 00b3d2cb authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #192 from jkbzh/master

fixing broken custom pre-receive calls
parents cc193ea4 7c2208a6
...@@ -18,7 +18,7 @@ class GitlabAccess ...@@ -18,7 +18,7 @@ class GitlabAccess
def exec def exec
if api.allowed?('git-receive-pack', @repo_name, @actor, @changes) if api.allowed?('git-receive-pack', @repo_name, @actor, @changes)
exit 0 return true
else else
# reset GL_ID env since we stop git push here # reset GL_ID env since we stop git push here
ENV['GL_ID'] = nil ENV['GL_ID'] = nil
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment