diff options
author | Karthik Nayak <knayak@gitlab.com> | 2022-08-23 14:12:54 +0300 |
---|---|---|
committer | Karthik Nayak <knayak@gitlab.com> | 2022-08-24 20:19:39 +0300 |
commit | 7bfd9531041b82843e65a5c1b46f5db71670d987 (patch) | |
tree | e57122cd40bf25123c0fefd03043a9b3f142ed49 /ruby/proto | |
parent | b702ffba9655f8d881763c948f06c9e466e958e0 (diff) |
proto: Return 'Branch' in 'FindLocalBranchesResponse'
Currently 'FindLocalBranchesResponse' contains 'FindLocalBranchResponse'
which is a custom type drawn over the common 'Branch' type. In due of
deprecating the old and keeping type consistency we introduce
'local_branches' as a new field of type 'Branch'.
In subsequent releases we will deprecate the old
'FindLocalBranchResponse' from 'FindLocalBranchesResponse' and only keep
'Branch' type in it.
Diffstat (limited to 'ruby/proto')
-rw-r--r-- | ruby/proto/gitaly/ref_pb.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ruby/proto/gitaly/ref_pb.rb b/ruby/proto/gitaly/ref_pb.rb index b8abcef1b..4159a6982 100644 --- a/ruby/proto/gitaly/ref_pb.rb +++ b/ruby/proto/gitaly/ref_pb.rb @@ -39,6 +39,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do end add_message "gitaly.FindLocalBranchesResponse" do repeated :branches, :message, 1, "gitaly.FindLocalBranchResponse" + repeated :local_branches, :message, 2, "gitaly.Branch" end add_message "gitaly.FindLocalBranchResponse" do optional :name, :bytes, 1 |