summaryrefslogtreecommitdiff
path: root/app/services
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-05-09 12:27:17 +0200
committerJacob Vosmaer <jacob@gitlab.com>2017-05-09 12:27:17 +0200
commit48254d187f421dfeb85a84bf2b86399add6e6a67 (patch)
tree1c816bf6defc73c0a50f0a287367e9518a0b0a02 /app/services
parent62b0eb2c0ba02d2a9c9515722dfcb7ec61b7fc6a (diff)
downloadgitlab-ce-48254d187f421dfeb85a84bf2b86399add6e6a67.tar.gz
Don't use DiffCollection for deltas
Diffstat (limited to 'app/services')
-rw-r--r--app/services/git_push_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/git_push_service.rb b/app/services/git_push_service.rb
index 45411c779cc..5e503cdfc32 100644
--- a/app/services/git_push_service.rb
+++ b/app/services/git_push_service.rb
@@ -67,7 +67,7 @@ class GitPushService < BaseService
paths = Set.new
@push_commits.each do |commit|
- commit.raw_diffs(deltas_only: true).each do |diff|
+ commit.raw_deltas.each do |diff|
paths << diff.new_path
end
end