Skip to content

Commit

Permalink
Merge pull request #192 from jkbzh/master
Browse files Browse the repository at this point in the history
fixing broken custom pre-receive calls
  • Loading branch information
dzaporozhets committed Oct 31, 2014
2 parents cc193ea + 7c2208a commit 00b3d2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gitlab_access.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def initialize(repo_path, actor, changes)

def exec
if api.allowed?('git-receive-pack', @repo_name, @actor, @changes)
exit 0
return true
else
# reset GL_ID env since we stop git push here
ENV['GL_ID'] = nil
Expand Down

0 comments on commit 00b3d2c

Please sign in to comment.