1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 01:35:54 +01:00
gitea/routers/api
Matthew Walowski ff5629268c
Pass 'not' to commit count (#24473)
Due to #24409 , we can now specify '--not' when getting all commits from
a repo to exclude commits from a different branch.

When I wrote that PR, I forgot to also update the code that counts the
number of commits in the repo. So now, if the --not option is used, it
may return too many commits, which can indicate that another page of
data is available when it is not.

This PR passes --not to the commands that count the number of commits in
a repo
2023-05-08 07:10:53 +00:00
..
actions Gitea Actions add base_ref, head_ref, api_url, ref_type fields (#24356) 2023-04-28 07:35:21 +08:00
packages Add RPM registry (#23380) 2023-05-05 20:33:37 +00:00
v1 Pass 'not' to commit count (#24473) 2023-05-08 07:10:53 +00:00