Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d4c3a9ab
Commit
d4c3a9ab
authored
Jul 20, 2018
by
Alejandro Rodríguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused rugged code that is currently on Gitaly
parent
ced005f3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
lib/gitlab/git/repository.rb
lib/gitlab/git/repository.rb
+0
-8
No files found.
lib/gitlab/git/repository.rb
View file @
d4c3a9ab
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment