Prepared for gitolite v3
This commit is contained in:
parent
1f5e2658f5
commit
ad3a88cfd3
5 changed files with 15 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue