Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2018-12-17 11:26:09 +0300
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2018-12-17 11:26:09 +0300
commit50ce459118034893b793dd9a601df5d20831b943 (patch)
tree92e7e3396cc250b6e9aac7db4bd576fe35509469 /lib/gitlab/git
parent8b4602041cf2c4a8738a4796d78720017249249f (diff)
Upgrade Gitaly to 1.9.0
This upgrade moves logic from gitlab-rails to Gitaly, which allowed code removal too.
Diffstat (limited to 'lib/gitlab/git')
-rw-r--r--lib/gitlab/git/object_pool.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/gitlab/git/object_pool.rb b/lib/gitlab/git/object_pool.rb
index 558699a6318..ba9b40b7df4 100644
--- a/lib/gitlab/git/object_pool.rb
+++ b/lib/gitlab/git/object_pool.rb
@@ -23,13 +23,6 @@ module Gitlab
end
def link(to_link_repo)
- remote_name = to_link_repo.object_pool_remote_name
- repository.set_config(
- "remote.#{remote_name}.url" => relative_path_to(to_link_repo.relative_path),
- "remote.#{remote_name}.tagOpt" => "--no-tags",
- "remote.#{remote_name}.fetch" => "+refs/*:refs/remotes/#{remote_name}/*"
- )
-
object_pool_service.link_repository(to_link_repo)
end