ruby/lib/gitaly/smarthttp_services_pb.rb in gitaly-proto-1.34.0 vs ruby/lib/gitaly/smarthttp_services_pb.rb in gitaly-proto-1.35.0
- old
+ new
@@ -13,11 +13,15 @@
self.marshal_class_method = :encode
self.unmarshal_class_method = :decode
self.service_name = 'gitaly.SmartHTTPService'
# The response body for GET /info/refs?service=git-upload-pack
+ # Will be invoked when the user executes a `git fetch`, meaning the server
+ # will upload the packs to that user. The user doesn't upload new objects.
rpc :InfoRefsUploadPack, InfoRefsRequest, stream(InfoRefsResponse)
# The response body for GET /info/refs?service=git-receive-pack
+ # Will be invoked when the user executes a `git push`, meaning the server
+ # will receive new objects in the pack from the user.
rpc :InfoRefsReceivePack, InfoRefsRequest, stream(InfoRefsResponse)
# Request and response body for POST /upload-pack
rpc :PostUploadPack, stream(PostUploadPackRequest), stream(PostUploadPackResponse)
# Request and response body for POST /receive-pack
rpc :PostReceivePack, stream(PostReceivePackRequest), stream(PostReceivePackResponse)