Commit 204db056 authored by Ahmad Sherif's avatar Ahmad Sherif

Re-enable Gitaly commit_raw_diffs migration

parent 6ee216c4
...@@ -326,12 +326,11 @@ class Commit ...@@ -326,12 +326,11 @@ class Commit
end end
def raw_diffs(*args) def raw_diffs(*args)
# Uncomment when https://gitlab.com/gitlab-org/gitaly/merge_requests/170 is merged if Gitlab::GitalyClient.feature_enabled?(:commit_raw_diffs)
# if Gitlab::GitalyClient.feature_enabled?(:commit_raw_diffs) Gitlab::GitalyClient::Commit.new(project.repository).diff_from_parent(self, *args)
# Gitlab::GitalyClient::Commit.new(project.repository).diff_from_parent(self, *args) else
# else raw.diffs(*args)
raw.diffs(*args) end
# end
end end
def raw_deltas def raw_deltas
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment