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:
Diffstat (limited to 'proto/operations.proto')
-rw-r--r--proto/operations.proto6
1 files changed, 3 insertions, 3 deletions
diff --git a/proto/operations.proto b/proto/operations.proto
index d4fa7f646..f4d41a8ad 100644
--- a/proto/operations.proto
+++ b/proto/operations.proto
@@ -221,9 +221,9 @@ message UserDeleteBranchRequest {
// UserDeleteBranchResponse is a response for the UserDeleteBranch RPC.
message UserDeleteBranchResponse {
- // PreReceiveError is an error that is returned in case deletion of the branch failed either
- // because of failing access checks or because hooks have refused the update.
- string pre_receive_error = 1;
+ // PreReceiveError is never set anymore. This RPC will instead return a UserDeleteBranchError for
+ // a subset of well-defined error cases.
+ string pre_receive_error = 1 [deprecated=true];
}
// UserDeleteBranchError is an error returned by the UserDeleteBranch RPC in some specific well