Class: MergeRequests::FfMergeService

Inherits:
MergeService show all
Defined in:
app/services/merge_requests/ff_merge_service.rb

Overview

MergeService class

Do git fast-forward merge and in case of success mark merge request as merged and execute all hooks and notifications Executed when you do fast-forward merge via GitLab UI

Constant Summary

Constants inherited from MergeBaseService

MergeBaseService::MergeError

Instance Attribute Summary

Attributes inherited from MergeBaseService

#merge_request

Attributes inherited from BaseService

#current_user, #params, #project

Method Summary

Methods inherited from MergeService

#execute

Methods inherited from MergeBaseService

#hooks_validation_error, #hooks_validation_pass?, #source

Methods included from Gitlab::Utils::StrongMemoize

#clear_memoization, #strong_memoize, #strong_memoized?

Methods inherited from BaseService

#cancel_review_app_jobs!, #cleanup_environments, #create_note, #execute_hooks, #hook_data, #inspect, #source_project, #target_project

Methods included from Gitlab::Utils::Override

#extended, extensions, #included, #method_added, #override, #prepended, #queue_verification, verify!

Methods included from AssignsMergeParams

#assign_allowed_merge_params, included

Methods inherited from BaseService

#initialize

Methods included from BaseServiceUtility

#deny_visibility_level, #event_service, #log_error, #log_info, #notification_service, #system_hook_service, #todo_service, #visibility_level

Methods included from Gitlab::Allowable

#can?