Skip to content
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

Support pagination of commit and expand the limit of files in commit #18019

Closed
laozhoubuluo opened this issue Dec 18, 2021 · 3 comments
Closed
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail

Comments

@laozhoubuluo
Copy link

Feature Description

I migrated from GitLab to Gitea some time ago, and found that Gitea only prompts when there are more than 100 single commit files (large commits are caused by historical reasons), I only get a “Some files cannot be displayed due to too many files.” tips and can't see subsequent changes.

I personally hope that Gitea can consider supporting the pagination function for long commits and expanding the current length limit. GitLab supports a single commit to display 1000 files and this limit can be extended such as 2000 files or more.

Regardless of whether you can accept this demand, I would like to thank the Gitea development team for providing a good, high-performance Git platform solution for the industry.

Screenshots

The following screenshots are from the GitLab.

header

footer

@jpraet
Copy link
Member

jpraet commented Dec 18, 2021

The upcoming 1.16 release will have a "Show More" button to fetch the next page of affected files: #16829
Note that the limit of 100 is configurable with MAX_GIT_DIFF_FILES in app.ini.

@zeripath
Copy link
Contributor

Yup I've recently implemented show more in #16829 & #16775. There are already several options for limiting inital diff generation.

It would be helpful if you could try main and see if that implements your suggestion.

@zeripath zeripath added the issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail label Dec 19, 2021
@wxiaoguang
Copy link
Contributor

Outdated, please open a new issue if there is still any problem

@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail
Projects
None yet
Development

No branches or pull requests

4 participants