ruby/lib/gitaly/diff_services_pb.rb in gitaly-0.6.0 vs ruby/lib/gitaly/diff_services_pb.rb in gitaly-0.7.0
- old
+ new
@@ -14,9 +14,11 @@
self.unmarshal_class_method = :decode
self.service_name = 'gitaly.Diff'
# Returns stream of CommitDiffResponse: 1 per changed file
rpc :CommitDiff, CommitDiffRequest, stream(CommitDiffResponse)
+ # Return a stream so we can divide the response in chunks of deltas
+ rpc :CommitDelta, CommitDeltaRequest, stream(CommitDeltaResponse)
end
Stub = Service.rpc_stub_class
end
end