3fcab51ebb
This prepares the codebase for a Gitaly migration. See https://gitlab.com/gitlab-org/gitaly/issues/553
11 lines
327 B
Ruby
11 lines
327 B
Ruby
module MergeRequests
|
|
module Conflicts
|
|
class ResolveService < MergeRequests::Conflicts::BaseService
|
|
def execute(current_user, params)
|
|
conflicts = Gitlab::Conflict::FileCollection.new(merge_request)
|
|
|
|
conflicts.resolve(current_user, params[:commit_message], params[:files])
|
|
end
|
|
end
|
|
end
|
|
end
|