Commit 46053183 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Restore method temporarily

parent 95e705e1
......@@ -35,5 +35,12 @@ module EE
# Gitaly migration: https://gitlab.com/gitlab-org/gitaly/issues/1243
::Gitlab::GitalyClient::StorageSettings.allow_disk_access { super }
end
# Gitaly migration: https://gitlab.com/gitlab-org/gitaly/issues/1246
def update_branch(user, branch_name, newrev, oldrev)
::Gitlab::GitalyClient::StorageSettings.allow_disk_access do
::Gitlab::Git::OperationService.new(user, raw_repository).update_branch(branch_name, newrev, oldrev)
end
end
end
end
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