ruby/proto/gitaly/errors_pb.rb in gitaly-15.0.0.pre.rc2 vs ruby/proto/gitaly/errors_pb.rb in gitaly-15.0.0.pre.rc3

- old
+ new

@@ -31,10 +31,21 @@ end add_message "gitaly.LimitError" do optional :error_message, :string, 1 optional :retry_after, :message, 2, "google.protobuf.Duration" end + add_message "gitaly.CustomHookError" do + optional :stdout, :bytes, 1 + optional :stderr, :bytes, 2 + optional :hook_type, :enum, 3, "gitaly.CustomHookError.HookType" + end + add_enum "gitaly.CustomHookError.HookType" do + value :HOOK_TYPE_UNSPECIFIED, 0 + value :HOOK_TYPE_PRERECEIVE, 1 + value :HOOK_TYPE_UPDATE, 2 + value :HOOK_TYPE_POSTRECEIVE, 3 + end end end module Gitaly AccessCheckError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AccessCheckError").msgclass @@ -42,6 +53,8 @@ ChangesAlreadyAppliedError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ChangesAlreadyAppliedError").msgclass MergeConflictError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.MergeConflictError").msgclass ReferenceUpdateError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceUpdateError").msgclass ResolveRevisionError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ResolveRevisionError").msgclass LimitError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LimitError").msgclass + CustomHookError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CustomHookError").msgclass + CustomHookError::HookType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CustomHookError.HookType").enummodule end