diff options
Diffstat (limited to 'proto/ssh.proto')
-rw-r--r-- | proto/ssh.proto | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/proto/ssh.proto b/proto/ssh.proto index e2185bffa..b7a6a33c7 100644 --- a/proto/ssh.proto +++ b/proto/ssh.proto @@ -11,7 +11,6 @@ service SSHService { rpc SSHUploadPack(stream SSHUploadPackRequest) returns (stream SSHUploadPackResponse) { option (op_type) = { op: ACCESSOR - target_repository_field: "1" }; } @@ -19,7 +18,6 @@ service SSHService { rpc SSHReceivePack(stream SSHReceivePackRequest) returns (stream SSHReceivePackResponse) { option (op_type) = { op: MUTATOR - target_repository_field: "1" }; } @@ -27,14 +25,13 @@ service SSHService { rpc SSHUploadArchive(stream SSHUploadArchiveRequest) returns (stream SSHUploadArchiveResponse) { option (op_type) = { op: MUTATOR - target_repository_field: "1" }; } } message SSHUploadPackRequest { // 'repository' must be present in the first message. - Repository repository = 1; + Repository repository = 1 [(target_repository)=true]; // A chunk of raw data to be copied to 'git upload-pack' standard input bytes stdin = 2; // Prevent re-use of field id 3 and/or the "git_config_parameters" name @@ -59,7 +56,7 @@ message SSHUploadPackResponse { message SSHReceivePackRequest { // 'repository' must be present in the first message. - Repository repository = 1; + Repository repository = 1 [(target_repository)=true]; // A chunk of raw data to be copied to 'git upload-pack' standard input bytes stdin = 2; // Contents of GL_ID, GL_REPOSITORY, and GL_USERNAME environment variables @@ -87,7 +84,7 @@ message SSHReceivePackResponse { message SSHUploadArchiveRequest { // 'repository' must be present in the first message. - Repository repository = 1; + Repository repository = 1 [(target_repository)=true]; // A chunk of raw data to be copied to 'git upload-archive' standard input bytes stdin = 2; } |