CommitService.FindCommits: implement include_referenced_by
This new field was introduced in Gitaly v15.9:
diff -r 203acd44cc85 protos/commit.proto
--- a/protos/commit.proto Sun Jun 11 12:37:58 2023 +0200
+++ b/protos/commit.proto Tue Jul 04 17:27:45 2023 +0200
@@ -607,6 +607,13 @@
// include_shortstat determines whether to include the number of lines and files
// changed in the commits. Populates the `short_stats` field.
bool include_shortstat = 17;
+ // include_referenced_by determines whether to include references that point to a
+ // commit in the response. The field contains patterns that are matched against
+ // references. Only matching references are included in the response. For
+ // example, one can get tags pointing to a commit with `refs/tags`, or branches
+ // respectively with `refs/heads`. By sending both, the response will include all
+ // references that match either pattern.
+ repeated bytes include_referenced_by = 18; // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED
}