diff options
Diffstat (limited to 'ruby/proto/gitaly')
-rw-r--r-- | ruby/proto/gitaly/commit_services_pb.rb | 6 | ||||
-rw-r--r-- | ruby/proto/gitaly/ref_pb.rb | 10 | ||||
-rw-r--r-- | ruby/proto/gitaly/ref_services_pb.rb | 2 |
3 files changed, 3 insertions, 15 deletions
diff --git a/ruby/proto/gitaly/commit_services_pb.rb b/ruby/proto/gitaly/commit_services_pb.rb index 74f2fca05..c603a2327 100644 --- a/ruby/proto/gitaly/commit_services_pb.rb +++ b/ruby/proto/gitaly/commit_services_pb.rb @@ -15,9 +15,9 @@ module Gitaly self.service_name = 'gitaly.CommitService' # ListCommits lists all commits reachable via a set of references by doing a - # graph walk. This deprecates ListNewCommits, FindAllCommits, FindCommits - # (except Follow is not yet supported) and CommitsBetweenRequest. Any - # unknown revisions will cause the RPC to fail. + # graph walk. This deprecates FindAllCommits, FindCommits (except Follow is + # not yet supported) and CommitsBetweenRequest. Any unknown revisions will + # cause the RPC to fail. rpc :ListCommits, Gitaly::ListCommitsRequest, stream(Gitaly::ListCommitsResponse) # ListAllCommits lists all commits present in the repository, including # those not reachable by any reference. diff --git a/ruby/proto/gitaly/ref_pb.rb b/ruby/proto/gitaly/ref_pb.rb index 807e69291..d96159667 100644 --- a/ruby/proto/gitaly/ref_pb.rb +++ b/ruby/proto/gitaly/ref_pb.rb @@ -5,7 +5,6 @@ require 'google/protobuf' require 'lint_pb' require 'shared_pb' -require 'blob_pb' require 'google/protobuf/timestamp_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("ref.proto", :syntax => :proto3) do @@ -168,13 +167,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do optional :message, :bytes, 2 optional :tag_id, :string, 3 end - add_message "gitaly.ListNewCommitsRequest" do - optional :repository, :message, 1, "gitaly.Repository" - optional :commit_id, :string, 2 - end - add_message "gitaly.ListNewCommitsResponse" do - repeated :commits, :message, 1, "gitaly.GitCommit" - end add_message "gitaly.FindAllRemoteBranchesRequest" do optional :repository, :message, 1, "gitaly.Repository" optional :remote_name, :string, 2 @@ -254,8 +246,6 @@ module Gitaly GetTagSignaturesResponse::TagSignature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTagSignaturesResponse.TagSignature").msgclass GetTagMessagesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTagMessagesRequest").msgclass GetTagMessagesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTagMessagesResponse").msgclass - ListNewCommitsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListNewCommitsRequest").msgclass - ListNewCommitsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListNewCommitsResponse").msgclass FindAllRemoteBranchesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllRemoteBranchesRequest").msgclass FindAllRemoteBranchesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllRemoteBranchesResponse").msgclass PackRefsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackRefsRequest").msgclass diff --git a/ruby/proto/gitaly/ref_services_pb.rb b/ruby/proto/gitaly/ref_services_pb.rb index 9ce703289..8810c2312 100644 --- a/ruby/proto/gitaly/ref_services_pb.rb +++ b/ruby/proto/gitaly/ref_services_pb.rb @@ -37,8 +37,6 @@ module Gitaly # which has no signature, but its unsigned contents will still be returned. rpc :GetTagSignatures, Gitaly::GetTagSignaturesRequest, stream(Gitaly::GetTagSignaturesResponse) rpc :GetTagMessages, Gitaly::GetTagMessagesRequest, stream(Gitaly::GetTagMessagesResponse) - # Returns commits that are only reachable from the ref passed - rpc :ListNewCommits, Gitaly::ListNewCommitsRequest, stream(Gitaly::ListNewCommitsResponse) rpc :PackRefs, Gitaly::PackRefsRequest, Gitaly::PackRefsResponse # ListRefs returns a stream of all references in the repository. By default, pseudo-revisions like HEAD # will not be returned by this RPC. Any symbolic references will be resolved to the object ID it is |