diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2019-05-31 23:18:27 +0300 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2019-06-01 01:16:01 +0300 |
commit | 4246a62118d919e62b94d75eba641ed374c3f241 (patch) | |
tree | 37ef42f76b66b642c88edf3f2a24da34a0f24047 /app/models/merge_request.rb | |
parent | 96db70a4448fd1e736c10100dccf3a803ec553c0 (diff) |
Add payload to the service response
This introduces payload to the ServiceResponse with
the merge ref HEAD commit data
Diffstat (limited to 'app/models/merge_request.rb')
-rw-r--r-- | app/models/merge_request.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/merge_request.rb b/app/models/merge_request.rb index 38b9b886e5f..cf63a7e79bd 100644 --- a/app/models/merge_request.rb +++ b/app/models/merge_request.rb @@ -1080,10 +1080,6 @@ class MergeRequest < ApplicationRecord # Returns the current merge-ref HEAD commit. # - # Consider calling mergeability_check method _before_ this if you need - # the latest possible version of it (it's already automatically updated - # along the merge_status). - # def merge_ref_head project.repository.commit(merge_ref_path) end |