diff options
Diffstat (limited to 'proto/ref.proto')
-rw-r--r-- | proto/ref.proto | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/proto/ref.proto b/proto/ref.proto index 0c0f08bd3..5ba7f289e 100644 --- a/proto/ref.proto +++ b/proto/ref.proto @@ -26,12 +26,6 @@ service RefService { op: ACCESSOR }; } - // Find a Ref matching the given constraints. Response may be empty. - rpc FindRefName(FindRefNameRequest) returns (FindRefNameResponse) { - option (op_type) = { - op: ACCESSOR - }; - } // Return a stream so we can divide the response in chunks of branches rpc FindLocalBranches(FindLocalBranchesRequest) returns (stream FindLocalBranchesResponse) { option (op_type) = { @@ -169,19 +163,6 @@ message FindAllTagNamesResponse { repeated bytes names = 1; } -message FindRefNameRequest { - Repository repository = 1 [(target_repository)=true]; - // Require that the resulting ref contains this commit as an ancestor - string commit_id = 2; - // Example prefix: "refs/heads/". Type bytes because that is the type of ref names. - bytes prefix = 3; -} - -message FindRefNameResponse { - // Example name: "refs/heads/master". Cannot assume UTF8, so the type is bytes. - bytes name = 1; -} - message FindLocalBranchesRequest { Repository repository = 1 [(target_repository)=true]; enum SortBy { |