diff options
author | Arturo Herrero <arturo.herrero@gmail.com> | 2020-02-05 01:22:48 +0300 |
---|---|---|
committer | John Cai <jcai@gitlab.com> | 2020-02-05 01:22:48 +0300 |
commit | 30b2d8f83005624b59aebbae77819596aad7d795 (patch) | |
tree | b49c326990fa359918f799c01711a5091bc67ff0 /proto/commit.proto | |
parent | d2ac8c77861b4bb16f8e372ee9bfc1aea284f5be (diff) |
Support FindCommitsRequest order (--topo-order)
Implement FindCommitsRequest with order argument to find commits
using git log --topo-order.
Diffstat (limited to 'proto/commit.proto')
-rw-r--r-- | proto/commit.proto | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/proto/commit.proto b/proto/commit.proto index 2b23be008..13fbac68f 100644 --- a/proto/commit.proto +++ b/proto/commit.proto @@ -334,6 +334,11 @@ message FindCommitsRequest { bool all = 11; bool first_parent = 12; bytes author = 13; + enum Order { + NONE = 0; + TOPO = 1; + } + Order order = 14; } // A single 'page' of the result set |