diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-07-06 10:42:58 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-07-06 10:46:40 +0300 |
commit | e25c30d8b1a4e453209c08cae97871da300566a4 (patch) | |
tree | a67266fa28a1b8a1e3ac66bfffea8807ba0224c9 /proto/commit.proto | |
parent | 20c3c2aad4ad42976f24c8b4250bfaa4585c471b (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.proto | 3 |
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. |