Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/context_commits_diff.rb')
-rw-r--r--app/models/context_commits_diff.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/context_commits_diff.rb b/app/models/context_commits_diff.rb
index fe1a72b79f2..3d25b60678a 100644
--- a/app/models/context_commits_diff.rb
+++ b/app/models/context_commits_diff.rb
@@ -3,6 +3,7 @@
class ContextCommitsDiff
include ActsAsPaginatedDiff
+ delegate :head, :base, to: :compare
attr_reader :merge_request
def initialize(merge_request)