diff options
author | Andrew Newdigate <andrew@gitlab.com> | 2017-07-18 07:59:36 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-07-18 07:59:36 +0000 |
commit | a89f18bf2c1421460fcb3f42aac538df51660912 (patch) | |
tree | ffc28c7ce8f730ba319552a61b784b8ada834050 /app/models/commit.rb | |
parent | a8aae1bed0ccea3e1761973773b7dc684876a27e (diff) | |
download | gitlab-ce-a89f18bf2c1421460fcb3f42aac538df51660912.tar.gz |
Renamed Gitaly services
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 |