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:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2022-07-29 09:12:29 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2022-07-29 09:22:39 +0300
commita14e97112b0dc78266df414e98c7d307e9fdf859 (patch)
treea386e57ff1bfe0bf3a35ed159dbde725b8a80d84 /ruby/proto
parent0fa08d953e0d5497fe5366836d0ed54b9ff557d8 (diff)
proto: Document FindTag RPC
The FindTag RPC does not have any documentation right now. Add some.
Diffstat (limited to 'ruby/proto')
-rw-r--r--ruby/proto/gitaly/ref_services_pb.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/ruby/proto/gitaly/ref_services_pb.rb b/ruby/proto/gitaly/ref_services_pb.rb
index 67f5e76a1..ac905cd7b 100644
--- a/ruby/proto/gitaly/ref_services_pb.rb
+++ b/ruby/proto/gitaly/ref_services_pb.rb
@@ -27,7 +27,9 @@ module Gitaly
rpc :FindAllBranches, ::Gitaly::FindAllBranchesRequest, stream(::Gitaly::FindAllBranchesResponse)
# Returns a stream of tags repository has.
rpc :FindAllTags, ::Gitaly::FindAllTagsRequest, stream(::Gitaly::FindAllTagsResponse)
- # This comment is left unintentionally blank.
+ # FindTag looks up a tag by its name and returns it to the caller if it exists. This RPC supports
+ # both lightweight and annotated tags. Note: this RPC returns an `Internal` error if the tag was
+ # not found.
rpc :FindTag, ::Gitaly::FindTagRequest, ::Gitaly::FindTagResponse
# This comment is left unintentionally blank.
rpc :FindAllRemoteBranches, ::Gitaly::FindAllRemoteBranchesRequest, stream(::Gitaly::FindAllRemoteBranchesResponse)