diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-07-18 07:59:37 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-07-18 07:59:37 +0000 |
commit | 9e5c8e5d7f81b88998c8def2f4a20d54eeee49d0 (patch) | |
tree | ffc28c7ce8f730ba319552a61b784b8ada834050 /app/models/commit.rb | |
parent | a8aae1bed0ccea3e1761973773b7dc684876a27e (diff) | |
parent | a89f18bf2c1421460fcb3f42aac538df51660912 (diff) | |
download | gitlab-ce-9e5c8e5d7f81b88998c8def2f4a20d54eeee49d0.tar.gz |
Merge branch 'an-rename-gitaly-services' into 'master'
Renamed Gitaly services
Closes gitaly#379
See merge request !12854
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r-- | app/models/commit.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb index c7f62617c4c..21b906e1110 100644 --- a/app/models/commit.rb +++ b/app/models/commit.rb @@ -322,7 +322,7 @@ class Commit def raw_diffs(*args) if Gitlab::GitalyClient.feature_enabled?(:commit_raw_diffs) - Gitlab::GitalyClient::Commit.new(project.repository).diff_from_parent(self, *args) + Gitlab::GitalyClient::CommitService.new(project.repository).diff_from_parent(self, *args) else raw.diffs(*args) end @@ -331,7 +331,7 @@ class Commit def raw_deltas @deltas ||= Gitlab::GitalyClient.migrate(:commit_deltas) do |is_enabled| if is_enabled - Gitlab::GitalyClient::Commit.new(project.repository).commit_deltas(self) + Gitlab::GitalyClient::CommitService.new(project.repository).commit_deltas(self) else raw.deltas end |