Skip to content

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

@laozhoubuluo

Description

@laozhoubuluo

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

Activity

jpraet

jpraet commented on Dec 18, 2021

@jpraet
Member

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

zeripath commented on Dec 18, 2021

@zeripath
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.

added
issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detail
on Dec 19, 2021
wxiaoguang

wxiaoguang commented on Apr 16, 2022

@wxiaoguang
Contributor

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

locked and limited conversation to collaborators on May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detail

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @zeripath@wxiaoguang@jpraet@laozhoubuluo

        Issue actions

          Support pagination of commit and expand the limit of files in commit · Issue #18019 · go-gitea/gitea