diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-07-29 09:12:29 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-07-29 09:22:39 +0300 |
commit | a14e97112b0dc78266df414e98c7d307e9fdf859 (patch) | |
tree | a386e57ff1bfe0bf3a35ed159dbde725b8a80d84 /ruby/proto | |
parent | 0fa08d953e0d5497fe5366836d0ed54b9ff557d8 (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.rb | 4 |
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) |