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
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2022-06-02 23:08:23 +0300
committerKyle Edwards <kyle.edwards@kitware.com>2022-06-17 17:31:43 +0300
commitb882974cc78b44832db3e1dd5e48f473aa5714d7 (patch)
treee4b108eb06e3237e5dab58c4a14f87ec750187ec /ruby/proto
parentb909c437560c36c85c80fe9891df7f0dc9cbc693 (diff)
FindChangedPaths: Add old_mode and new_mode fields
git diff-tree outputs a line for each changed path that contains the old and new Unix file modes of the path in octal format. Extract these old and new modes and pass them in the FindChangedPaths RPC response.
Diffstat (limited to 'ruby/proto')
-rw-r--r--ruby/proto/gitaly/diff_pb.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/ruby/proto/gitaly/diff_pb.rb b/ruby/proto/gitaly/diff_pb.rb
index 980aa94e8..5018218b5 100644
--- a/ruby/proto/gitaly/diff_pb.rb
+++ b/ruby/proto/gitaly/diff_pb.rb
@@ -114,6 +114,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
add_message "gitaly.ChangedPaths" do
optional :path, :bytes, 1
optional :status, :enum, 2, "gitaly.ChangedPaths.Status"
+ optional :old_mode, :int32, 3
+ optional :new_mode, :int32, 4
end
add_enum "gitaly.ChangedPaths.Status" do
value :ADDED, 0