From d466ee5042520ad078fe050cb078d81dc2ebe196 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 13 Feb 2020 21:08:59 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- doc/api/commits.md | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/api') diff --git a/doc/api/commits.md b/doc/api/commits.md index fb090f51a2e..eb3fb7b2195 100644 --- a/doc/api/commits.md +++ b/doc/api/commits.md @@ -18,6 +18,7 @@ GET /projects/:id/repository/commits | `all` | boolean | no | Retrieve every commit from the repository | | `with_stats` | boolean | no | Stats about each commit will be added to the response | | `first_parent` | boolean | no | Follow only the first parent commit upon seeing a merge commit | +| `order` | string | no | List commits in order. Possible value: [`topo`](https://git-scm.com/docs/git-log#Documentation/git-log.txt---topo-order). | ```shell curl --header "PRIVATE-TOKEN: " "https://gitlab.example.com/api/v4/projects/5/repository/commits" -- cgit v1.2.3