Skip to content
Snippets Groups Projects
Commit d4c3a9ab authored by Alejandro Rodríguez's avatar Alejandro Rodríguez
Browse files

Remove unused rugged code that is currently on Gitaly

parent ced005f3
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
Loading
Loading
@@ -1253,14 +1253,6 @@ module Gitlab
run_git(args, env: source_repository.fetch_env)
end
 
def rugged_add_remote(remote_name, url, mirror_refmap)
rugged.remotes.create(remote_name, url)
set_remote_as_mirror(remote_name, refmap: mirror_refmap) if mirror_refmap
rescue Rugged::ConfigError
remote_update(remote_name, url: url)
end
def gitaly_delete_refs(*ref_names)
gitaly_ref_client.delete_refs(refs: ref_names) if ref_names.any?
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment