diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-11-16 11:18:43 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-11-16 11:33:43 +0300 |
commit | b17e6c8763db4ae984794ee1c59c13c17c6c14a1 (patch) | |
tree | 6743a1903d4af88ace678773b790d1a7000667f9 /ruby | |
parent | 51b78efbabefe3abd586a7d5fee12a52905a4af0 (diff) |
Revert "repository: Remove deprecated and unused fields from GetRawChanges"
This reverts commit f80312d8c (repository: Remove deprecated and unused
fields from GetRawChanges, 2021-11-11), which has removed `OldPath` and
`NewPath` from the RawChanges RPC's response. As it turns out, these
deprecated fields are still used by the Elasticsearch indexer. The
indexer will be converted to use new paths in v14.6 such that we can
reintroduce the removal in v14.7 in Gitaly.
Diffstat (limited to 'ruby')
-rw-r--r-- | ruby/proto/gitaly/repository-service_pb.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ruby/proto/gitaly/repository-service_pb.rb b/ruby/proto/gitaly/repository-service_pb.rb index 8a1c4cf18..fe4e2b379 100644 --- a/ruby/proto/gitaly/repository-service_pb.rb +++ b/ruby/proto/gitaly/repository-service_pb.rb @@ -234,6 +234,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do add_message "gitaly.GetRawChangesResponse.RawChange" do optional :blob_id, :string, 1 optional :size, :int64, 2 + optional :new_path, :string, 3 + optional :old_path, :string, 4 optional :operation, :enum, 5, "gitaly.GetRawChangesResponse.RawChange.Operation" optional :raw_operation, :string, 6 optional :old_mode, :int32, 7 |