diff options
author | James Fargher <jfargher@gitlab.com> | 2021-08-09 06:20:07 +0300 |
---|---|---|
committer | James Fargher <jfargher@gitlab.com> | 2021-08-09 06:35:11 +0300 |
commit | 87b298809f40895437cdcdeec965b3fcd643a443 (patch) | |
tree | 8e18bad82148185fe2709d51b6f014eac87c4893 /ruby | |
parent | 90e05cc232f819cf1e68ce4dc5273cd6b77ef865 (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.rb | 2 |
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 |