ruby/proto/gitaly/hook_pb.rb in gitaly-13.5.0.pre.rc1 vs ruby/proto/gitaly/hook_pb.rb in gitaly-13.5.0.pre.rc2
- old
+ new
@@ -43,11 +43,17 @@
end
add_message "gitaly.ReferenceTransactionHookRequest" do
optional :repository, :message, 1, "gitaly.Repository"
repeated :environment_variables, :string, 2
optional :stdin, :bytes, 3
+ optional :state, :enum, 4, "gitaly.ReferenceTransactionHookRequest.State"
end
+ add_enum "gitaly.ReferenceTransactionHookRequest.State" do
+ value :PREPARED, 0
+ value :COMMITTED, 1
+ value :ABORTED, 2
+ end
add_message "gitaly.ReferenceTransactionHookResponse" do
optional :stdout, :bytes, 1
optional :stderr, :bytes, 2
optional :exit_status, :message, 3, "gitaly.ExitStatus"
end
@@ -60,7 +66,8 @@
PostReceiveHookRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceiveHookRequest").msgclass
PostReceiveHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceiveHookResponse").msgclass
UpdateHookRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateHookRequest").msgclass
UpdateHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateHookResponse").msgclass
ReferenceTransactionHookRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookRequest").msgclass
+ ReferenceTransactionHookRequest::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookRequest.State").enummodule
ReferenceTransactionHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookResponse").msgclass
end