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:
authorPaul Okstad <pokstad@gitlab.com>2019-02-28 21:45:50 +0300
committerPaul Okstad <pokstad@gitlab.com>2019-02-28 21:45:50 +0300
commit45e7519067daffe917a38a45be28dc64cf90d52f (patch)
tree94b5d496ba72d02f49771ebf0566040b01830537
parentd29150c41cf85a9b93117cee938cc75df2f78e7e (diff)
parent445ad17871244f14f2cd554ad440bebccbb5cd77 (diff)
Merge branch 'jc-remove-ruby-write-ref' into 'master'
removing deprecated ruby write-ref Closes #1449 See merge request gitlab-org/gitaly!1098
-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)