diff options
author | Igor Drozdov <idrozdov@gitlab.com> | 2022-07-07 18:57:43 +0300 |
---|---|---|
committer | Igor Drozdov <idrozdov@gitlab.com> | 2022-07-08 11:13:20 +0300 |
commit | a6b5618baa4c722890812606876501f5eb65f20c (patch) | |
tree | d901130c00e675f80a51ce3005f847b7b1edc953 /ruby/proto | |
parent | 888f9cc26f2021e455cf2c7c46f2b3d123d06a88 (diff) |
Add an option to skip flat paths for tree entries
Populating flat paths for large trees may be expensive
Let's add an option to skip it (to preserve the default behaviour)
in order to be able to avoid this expensive operation when it's
not necessary
Changelog: added
Diffstat (limited to 'ruby/proto')
-rw-r--r-- | ruby/proto/gitaly/commit_pb.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ruby/proto/gitaly/commit_pb.rb b/ruby/proto/gitaly/commit_pb.rb index c9b6e8e5f..efdd4d133 100644 --- a/ruby/proto/gitaly/commit_pb.rb +++ b/ruby/proto/gitaly/commit_pb.rb @@ -120,6 +120,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do optional :recursive, :bool, 4 optional :sort, :enum, 5, "gitaly.GetTreeEntriesRequest.SortBy" optional :pagination_params, :message, 6, "gitaly.PaginationParameter" + optional :skip_flat_paths, :bool, 7 end add_enum "gitaly.GetTreeEntriesRequest.SortBy" do value :DEFAULT, 0 |