Skip to content

API: Ability to list commits in order (--topo-order)

Arturo Herrero requested to merge 35671-api-repository-commits-with-order into master

What does this MR do?

GET /projects/:id/repository/commits supports a new optional attribute to list the commits in order.

At the moment the possible values are none (default) and topo witch implements (--topo-order).
https://git-scm.com/docs/git-log#Documentation/git-log.txt---topo-order

This was introduced in Gitaly v1.86.0 (!24610 (merged))

I've tested this locally and it works as expected:

Screen_Shot_2020-02-11_at_10.42.29

Closes #35671 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading