diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-08-20 16:20:25 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-08-23 12:21:57 +0300 |
commit | 112d747200156995466dc914f3d656b15075804b (patch) | |
tree | 8ba6aa080f39deddde1749a45d083518ad150b29 /proto/operations.proto | |
parent | 4b4d41e1726b2d7a39fcade7c9285283adffb38e (diff) |
operations: Deprecate `SquashId`
Deprecate the squash ID field in `UserSquashRequest`. It's not used
anymore given that we always do in-memory squashes nowadays.
Changelog: deprecated
Diffstat (limited to 'proto/operations.proto')
-rw-r--r-- | proto/operations.proto | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/proto/operations.proto b/proto/operations.proto index 459e4a29e..2414717d0 100644 --- a/proto/operations.proto +++ b/proto/operations.proto @@ -607,10 +607,10 @@ message UserSquashRequest { Repository repository = 1 [(target_repository)=true]; // user is used for authorization checks. User user = 2; - // squash_id is used as a unique identifier for the squash. Internally, this - // is used to identify the worktree in which the squash shall be computed. No - // two UserSquash RPCs may run with the same ID. - string squash_id = 3; + // SquashId used to identify the path where the worktree was created. Given + // that Gitaly does in-memory squashes now, this is useless and will be + // ignored. There is no replacement for this. + string squash_id = 3 [deprecated=true]; reserved 4; // start_sha is the object ID of the start commit of the range which shall be // squashed. Must be an ancestor of end_sha. |