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
path: root/ruby
diff options
context:
space:
mode:
authorJames Fargher <jfargher@gitlab.com>2021-08-09 06:20:07 +0300
committerJames Fargher <jfargher@gitlab.com>2021-08-09 06:35:11 +0300
commit87b298809f40895437cdcdeec965b3fcd643a443 (patch)
tree8e18bad82148185fe2709d51b6f014eac87c4893 /ruby
parent90e05cc232f819cf1e68ce4dc5273cd6b77ef865 (diff)
Accept array of patterns in CreateBundleFromRefList
For lower cost streaming we should be packing as much into a frame as possible. So instead of only taking a single pattern we should take an array. GRPC expects strings to be well formed UTF-8. This might not be the case for ref names, so to allow us to write patterns for every possible ref, we need to accept byte arrays instead. Changelog: fixed
Diffstat (limited to 'ruby')
-rw-r--r--ruby/proto/gitaly/repository-service_pb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby/proto/gitaly/repository-service_pb.rb b/ruby/proto/gitaly/repository-service_pb.rb
index 52a981abc..374b4c74a 100644
--- a/ruby/proto/gitaly/repository-service_pb.rb
+++ b/ruby/proto/gitaly/repository-service_pb.rb
@@ -165,7 +165,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
end
add_message "gitaly.CreateBundleFromRefListRequest" do
optional :repository, :message, 1, "gitaly.Repository"
- optional :pattern, :string, 2
+ repeated :patterns, :bytes, 2
end
add_message "gitaly.CreateBundleFromRefListResponse" do
optional :data, :bytes, 1