diff options
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/merge_request.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/models/merge_request.rb b/app/models/merge_request.rb index e88a86ea0f0..417a13da812 100644 --- a/app/models/merge_request.rb +++ b/app/models/merge_request.rb @@ -905,6 +905,7 @@ class MergeRequest < ActiveRecord::Base project.repository.keep_around(self.merge_commit_sha) end +<<<<<<< HEAD def conflicts @conflicts ||= Gitlab::Conflict::FileCollection.new(self) end @@ -934,6 +935,8 @@ class MergeRequest < ActiveRecord::Base end end +======= +>>>>>>> e4261fe3... Merge branch 'fix-conflict-resolution-with-corrupt-repos' into 'master'
def has_commits? merge_request_diff && commits_count > 0 end |