Description
When requesting commits with the since, until, and sha query parameters, the API correctly filters commits in the response body, but the X-Total-Count header still shows the total number of commits in the repository.
Gitea Version
1.25.1
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Ubuntu
How are you running Gitea?
Self-hosted instance
Installed using Docker on a Linux host
Gitea was not built manually — using a standard Docker image from Gitea.
Database
PostgreSQL