Skip to content
Snippets Groups Projects
Commit 56379b04 authored by Georges Racinet's avatar Georges Racinet
Browse files

CommitService.ListCommits: basic implementation

This is obviously very partial given the list of request options
and the fact that this is handed straight to git-rev-list, hence
to be complete, we should implement all possible meaning of
revisions, including mixing the `..` and `...` notation with simple
commit ids and refs whenever Git accepts it.

Still, current usage in GitLab is limited to `Repository#between`,
hence revisions is `[^FROM, TO]`. Of course, more advanced cases
can appear any time, but at least we'll have the proper harness
to implement them.

The ordering options cannot match exactly Gitaly's, see the
lengthy explanation in docstring about this.

closes #72
parent e9597ebc
No related branches found
No related tags found
1 merge request!96CommitService.ListCommits first implementation
Pipeline #46190 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment