Commit 9879c427 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

If MR commits are empty if does not mean compare failed

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent a6546f51
......@@ -51,7 +51,7 @@ module MergeRequests
end
else
merge_request.can_be_created = false
merge_request.compare_failed = true
merge_request.compare_failed = false
end
merge_request
......
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