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:
authorToon Claes <toon@gitlab.com>2023-04-12 18:40:25 +0300
committerToon Claes <toon@gitlab.com>2023-04-12 18:41:12 +0300
commit19f4d2ecd1973029167d361eb324e730f96a74dd (patch)
treead309831fa5fc0e6cca9ebe1c352e7bac0fe1dd8
parent37ec51cceb17bff44b592cb600e56040b7e1ed4c (diff)
proto: Add some comments to FindChangedPathsResponse
The paths field in FindChangedPathsResponse didn't have any comment, so we add some.
-rw-r--r--proto/diff.proto4
-rw-r--r--proto/go/gitalypb/diff.pb.go4
2 files changed, 6 insertions, 2 deletions
diff --git a/proto/diff.proto b/proto/diff.proto
index 6e4a09003..5f6b4759d 100644
--- a/proto/diff.proto
+++ b/proto/diff.proto
@@ -326,7 +326,9 @@ message FindChangedPathsRequest {
// Returns a list of files that have been changed in the commits given
message FindChangedPathsResponse {
- // This comment is left unintentionally blank.
+ // paths contains the attributes for one changed file. In case of merge
+ // commits, or when comparing three or more commits, a file might be included
+ // more than once if it was changed between multiple commits.
repeated ChangedPaths paths = 1;
}
diff --git a/proto/go/gitalypb/diff.pb.go b/proto/go/gitalypb/diff.pb.go
index 97b2ff57a..0f4111399 100644
--- a/proto/go/gitalypb/diff.pb.go
+++ b/proto/go/gitalypb/diff.pb.go
@@ -1328,7 +1328,9 @@ type FindChangedPathsResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // This comment is left unintentionally blank.
+ // paths contains the attributes for one changed file. In case of merge
+ // commits, or when comparing three or more commits, a file might be included
+ // more than once if it was changed between multiple commits.
Paths []*ChangedPaths `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
}