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>2022-05-11 10:08:39 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2022-05-11 10:08:39 +0300
commit5200cc5b7bb1dc10738166b1be783e38acd98812 (patch)
tree938566eabe05a4cf7e885d873af9a15329cdd3d8 /proto/operations.proto
parent60a7383d965aa6a8e69aa2e33a84792cde486cd3 (diff)
parentca71bbd189a528700f4583ee621b36bbb2b89ec7 (diff)
Merge branch 'pks-proto-style-update' into 'master'
proto: Update documentation and modernize our style guide See merge request gitlab-org/gitaly!4539
Diffstat (limited to 'proto/operations.proto')
-rw-r--r--proto/operations.proto24
1 files changed, 12 insertions, 12 deletions
diff --git a/proto/operations.proto b/proto/operations.proto
index b4afcd0bd..fdc690352 100644
--- a/proto/operations.proto
+++ b/proto/operations.proto
@@ -418,12 +418,12 @@ message UserCherryPickResponse {
// cherry-pick.
enum CreateTreeError {
// NONE denotes that no error occurred.
- NONE = 0;
+ NONE = 0; // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH
// EMPTY denotes that the cherry-pick would've resulted in an empty commit,
// typically because it has already been applied to the target branch.
- EMPTY = 1;
+ EMPTY = 1; // protolint:disable:this ENUM_FIELD_NAMES_PREFIX
// CONFLICT denotes that the cherry-pick resulted in a conflict.
- CONFLICT = 2;
+ CONFLICT = 2; // protolint:disable:this ENUM_FIELD_NAMES_PREFIX
}
// branch_update represents details about the updated branch.
@@ -496,12 +496,12 @@ message UserRevertResponse {
// revert.
enum CreateTreeError {
// NONE denotes that no error occurred.
- NONE = 0;
+ NONE = 0; // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH
// EMPTY denotes that the revert would've resulted in an empty commit,
// typically because it has already been applied to the target branch.
- EMPTY = 1;
+ EMPTY = 1; // protolint:disable:this ENUM_FIELD_NAMES_PREFIX
// CONFLICT denotes that the revert resulted in a conflict.
- CONFLICT = 2;
+ CONFLICT = 2; // protolint:disable:this ENUM_FIELD_NAMES_PREFIX
}
// branch_update represents details about the updated branch.
@@ -524,17 +524,17 @@ message UserCommitFilesActionHeader {
// This comment is left unintentionally blank.
enum ActionType {
// CREATE creates a new file.
- CREATE = 0;
+ CREATE = 0; // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH
// CREATE_DIR creates a new directory.
- CREATE_DIR = 1;
+ CREATE_DIR = 1; // protolint:disable:this ENUM_FIELD_NAMES_PREFIX
// UPDATE updates an existing file.
- UPDATE = 2;
+ UPDATE = 2; // protolint:disable:this ENUM_FIELD_NAMES_PREFIX
// MOVE moves an existing file to a new path.
- MOVE = 3;
+ MOVE = 3; // protolint:disable:this ENUM_FIELD_NAMES_PREFIX
// DELETE deletes an existing file.
- DELETE = 4;
+ DELETE = 4; // protolint:disable:this ENUM_FIELD_NAMES_PREFIX
// CHMOD changes the permissions of an existing file.
- CHMOD = 5;
+ CHMOD = 5; // protolint:disable:this ENUM_FIELD_NAMES_PREFIX
}
// action is the type of the action taken to build a commit. Not all fields are