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

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Cai <jcai@gitlab.com>2019-02-26 21:06:25 +0300
committerJohn Cai <jcai@gitlab.com>2019-02-26 21:49:08 +0300
commit445ad17871244f14f2cd554ad440bebccbb5cd77 (patch)
treece4d8dae4d3e5fcbb33efc28eef7e0bb2c466cb6
parentd25fc68b147316bb13886c8567a7c4f3313365ad (diff)
removing deprecated ruby write-ref
-rw-r--r--changelogs/unreleased/jc-remove-ruby-write-ref.yml5
-rw-r--r--ruby/lib/gitaly_server/repository_service.rb7
2 files changed, 5 insertions, 7 deletions
diff --git a/changelogs/unreleased/jc-remove-ruby-write-ref.yml b/changelogs/unreleased/jc-remove-ruby-write-ref.yml
new file mode 100644
index 000000000..f26a34489
--- /dev/null
+++ b/changelogs/unreleased/jc-remove-ruby-write-ref.yml
@@ -0,0 +1,5 @@
+---
+title: removing deprecated ruby write-ref
+merge_request: 1098
+author:
+type: other
diff --git a/ruby/lib/gitaly_server/repository_service.rb b/ruby/lib/gitaly_server/repository_service.rb
index 223176eb1..edbe2011f 100644
--- a/ruby/lib/gitaly_server/repository_service.rb
+++ b/ruby/lib/gitaly_server/repository_service.rb
@@ -38,13 +38,6 @@ module GitalyServer
Gitaly::FetchRemoteResponse.new
end
- def write_ref(request, call)
- Gitlab::Git::Repository.from_gitaly(request.repository, call)
- .write_ref(request.ref, request.revision, old_ref: request.old_revision)
-
- Gitaly::WriteRefResponse.new
- end
-
def write_config(request, call)
repo = Gitlab::Git::Repository.from_gitaly(request.repository, call)