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:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2021-07-06 10:42:58 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2021-07-06 10:46:40 +0300
commite25c30d8b1a4e453209c08cae97871da300566a4 (patch)
treea67266fa28a1b8a1e3ac66bfffea8807ba0224c9 /proto/commit.proto
parent20c3c2aad4ad42976f24c8b4250bfaa4585c471b (diff)
commit: Allow listing commits in reverse
Implement a new parameter for the `ListCommits()` RPC which allows the caller to list commits in reverse order. Changelog: added
Diffstat (limited to 'proto/commit.proto')
-rw-r--r--proto/commit.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/commit.proto b/proto/commit.proto
index d66a996d7..f09399c5b 100644
--- a/proto/commit.proto
+++ b/proto/commit.proto
@@ -172,6 +172,9 @@ message ListCommitsRequest {
// the enum's documentation for further information.
Order order = 4;
+ // Reverse will cause all commits to be listed in reverse.
+ bool reverse = 11;
+
// MaxParents will skip all commits which have more than the specified number
// of parents. If set to `0`, no filtering by parents will happen. If set to
// `1`, all merge commits will be omitted.