ruby/proto/gitaly/hook_services_pb.rb in gitaly-16.7.10 vs ruby/proto/gitaly/hook_services_pb.rb in gitaly-16.8.0.pre.rc1
- old
+ new
@@ -26,9 +26,14 @@
# ReferenceTransactionHook ...
rpc :ReferenceTransactionHook, stream(::Gitaly::ReferenceTransactionHookRequest), stream(::Gitaly::ReferenceTransactionHookResponse)
# PackObjectsHookWithSidechannel is an optimized version of PackObjectsHook that uses
# a unix socket side channel.
rpc :PackObjectsHookWithSidechannel, ::Gitaly::PackObjectsHookWithSidechannelRequest, ::Gitaly::PackObjectsHookWithSidechannelResponse
+ # ProcReceiveHook is a hook invoked by git-receive-pack(1) [1]. This hook is responsible
+ # for updating the relevant references and reporting the results back to receive-pack.
+ #
+ # [1]: https://git-scm.com/docs/githooks#proc-receive
+ rpc :ProcReceiveHook, stream(::Gitaly::ProcReceiveHookRequest), stream(::Gitaly::ProcReceiveHookResponse)
end
Stub = Service.rpc_stub_class
end
end