Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2021-11-11 10:15:21 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2021-11-12 10:35:02 +0300
commitc88b7193eb99283645951c6c0ef1ef04b78f9319 (patch)
tree46b567bf1a46c017d9254574ef616d404fa1643b /proto/ref.proto
parentab7aab4b31aaa0bcbe5c1a8d4b7d3eb769888253 (diff)
ref: Drop unused and deprecated ListNewCommits RPC
The ListNewCommits RPC used to list all commits which were returned by `git rev-list $newrev --not --all`, that is all commits which aren't referenced by any existing ref. This RPC was replaced by ListCommits, which is a lot more flexible and allows passing an arbitrary number of revisions, including pseudo-refs "--not" and "--all". Downstream has been converted in e8a98485fe7 (ff: Remove `:list_commits` feature flag, 2021-07-23) to exclusively use ListCommits, so ListNewCommits is now unused. Remove ListNewCommits. Changelog: removed
Diffstat (limited to 'proto/ref.proto')
-rw-r--r--proto/ref.proto16
1 files changed, 0 insertions, 16 deletions
diff --git a/proto/ref.proto b/proto/ref.proto
index ddedac199..e228d2319 100644
--- a/proto/ref.proto
+++ b/proto/ref.proto
@@ -98,13 +98,6 @@ service RefService {
};
}
- // Returns commits that are only reachable from the ref passed
- rpc ListNewCommits(ListNewCommitsRequest) returns (stream ListNewCommitsResponse) {
- option (op_type) = {
- op: ACCESSOR
- };
- }
-
rpc PackRefs(PackRefsRequest) returns (PackRefsResponse) {
option (op_type) = {
op: MUTATOR
@@ -376,15 +369,6 @@ message GetTagMessagesResponse {
string tag_id = 3;
}
-message ListNewCommitsRequest {
- Repository repository = 1 [(target_repository)=true];
- string commit_id = 2;
-}
-
-message ListNewCommitsResponse {
- repeated GitCommit commits = 1;
-}
-
message FindAllRemoteBranchesRequest {
Repository repository = 1 [(target_repository)=true];
string remote_name = 2;