Prepared for gitolite v3

This commit is contained in:
randx 2012-08-29 02:03:04 +03:00
parent 1f5e2658f5
commit ad3a88cfd3
5 changed files with 15 additions and 11 deletions

View file

@ -21,8 +21,7 @@ module Gitlab
if output =~ /CONFLICT/
false
else
repo.git.push({}, "origin", merge_request.target_branch)
true
!!repo.git.push({}, "origin", merge_request.target_branch)
end
end
end