summaryrefslogtreecommitdiff
path: root/app/services/merge_requests/after_create_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/merge_requests/after_create_service.rb')
-rw-r--r--app/services/merge_requests/after_create_service.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/merge_requests/after_create_service.rb b/app/services/merge_requests/after_create_service.rb
index 9d12eb80eb6..20b32dbc2a0 100644
--- a/app/services/merge_requests/after_create_service.rb
+++ b/app/services/merge_requests/after_create_service.rb
@@ -5,6 +5,8 @@ module MergeRequests
include Gitlab::Utils::StrongMemoize
def execute(merge_request)
+ merge_request.ensure_merge_request_diff
+
prepare_for_mergeability(merge_request)
prepare_merge_request(merge_request)
end