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/compare.rb')
-rw-r--r--app/models/compare.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/compare.rb b/app/models/compare.rb
index 58279cb58aa..d80f3f72ca7 100644
--- a/app/models/compare.rb
+++ b/app/models/compare.rb
@@ -1,12 +1,12 @@
# frozen_string_literal: true
-require 'set'
+require 'set' # rubocop:disable Lint/RedundantRequireStatement -- Ruby 3.1 and earlier needs this. Drop this line after Ruby 3.2+ is only supported.
class Compare
include Gitlab::Utils::StrongMemoize
include ActsAsPaginatedDiff
- delegate :same, :head, :base, to: :@compare
+ delegate :same, :head, :base, :generated_files, to: :@compare
attr_reader :project