-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get a list of all commits from a repository will lost some file sometimes #30492
Comments
can someone help me? |
Can you reproduce it on https://try.gitea.io ? |
Yes please look at this commit, we can find 22 files were changed but when we use "https://try.gitea.io/api/v1/repos/udlenbo/commit_miss_file/commits?sha=24def873bc58ad90b6be802275fea81e7b97b2ab&stat=true&page=1&limit=1" |
With the try link it happens sometimes but I can't reproduce it locally. |
Unable to reproduce either, but I think this will fix: Fix commit file status parser #30602 The result of "ReadSlice" is only valid before next read. |
The 1.21-nightly is ready, could you try it? |
Description
gitea version: 1.18.1 or 1.21.1
sometimes, we use "http://xx/api/v1/repos/yourgroup/yourrepo/commits?sha=0710d43a4b4297d3dd7161673b09ac811aa908cb&stat=true&page=1&limit=1" to search, fill will be lost but sometimes it will display.
Gitea Version
1.18.1 or 1.21.1
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
use the same url, sometimes a file lost, but sometimes will display.
query first
query again
Git Version
No response
Operating System
No response
How are you running Gitea?
run from docker
Database
None
The text was updated successfully, but these errors were encountered: