diff options
author | Stan Hu <stanhu@gmail.com> | 2020-07-19 18:45:23 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2020-07-21 18:24:50 +0300 |
commit | 9694a22c20a49ef6530e358705890a42631065f5 (patch) | |
tree | 1d10c87c662c08053397124aa19c5e32392ba1b7 /proto/diff.proto | |
parent | 521bb978da8780aca690136e78a3ad388726c8ad (diff) |
Add old path to NumStats protobuf output
This will make it possible to solve some N+1 issues in the
/internal/allowed endpoint.
Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/227572
Diffstat (limited to 'proto/diff.proto')
-rw-r--r-- | proto/diff.proto | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/diff.proto b/proto/diff.proto index 383aa01f1..24b728edc 100644 --- a/proto/diff.proto +++ b/proto/diff.proto @@ -137,6 +137,7 @@ message DiffStats { bytes path = 1; int32 additions = 2; int32 deletions = 3; + bytes old_path = 4; } message DiffStatsResponse { |