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 'lib/gitlab/git/compare.rb')
-rw-r--r--lib/gitlab/git/compare.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gitlab/git/compare.rb b/lib/gitlab/git/compare.rb
index c6d678c9432..1c60345aea9 100644
--- a/lib/gitlab/git/compare.rb
+++ b/lib/gitlab/git/compare.rb
@@ -48,9 +48,8 @@ module Gitlab
changed_paths = @repository
.find_changed_paths([Gitlab::Git::DiffTree.new(@base.id, @head.id)])
- .map(&:path)
- @repository.detect_generated_files(@base.id, changed_paths)
+ @repository.detect_generated_files(@base.id, @head.id, changed_paths)
end
end
end