diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-05-02 12:42:47 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-05-09 13:20:19 +0300 |
commit | 58aa3bc8b0f8a1dd7fd9ec006ff870d59d8c01be (patch) | |
tree | 3c59ff4f3ae97dc286791f5c40457d30a110be27 /proto/shared.proto | |
parent | 17dfa058c4310339eb8fcdb871ed46d97ad1d65e (diff) |
proto: Enforce comment-linting for enum fields
Enforce that enum fields must have a comment and add a placeholder for
all instances where such a comment is missing.
Diffstat (limited to 'proto/shared.proto')
-rw-r--r-- | proto/shared.proto | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/proto/shared.proto b/proto/shared.proto index 8a23b063e..0a8d801b4 100644 --- a/proto/shared.proto +++ b/proto/shared.proto @@ -9,18 +9,27 @@ option go_package = "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb"; // This comment is left unintentionally blank. enum ObjectType { + // This comment is left unintentionally blank. UNKNOWN = 0; + // This comment is left unintentionally blank. COMMIT = 1; + // This comment is left unintentionally blank. BLOB = 2; + // This comment is left unintentionally blank. TREE = 3; + // This comment is left unintentionally blank. TAG = 4; } // This comment is left unintentionally blank. enum SignatureType { + // This comment is left unintentionally blank. NONE = 0; + // This comment is left unintentionally blank. PGP = 1; + // This comment is left unintentionally blank. X509 = 2; + // This comment is left unintentionally blank. SSH = 3; // maybe add X509+TSA or other combinations at a later step } |