Skip to content

Allow on-demand loading of too large file diffs #17738

Closed
@jpraet

Description

@jpraet

Feature Description

On gitea, file diffs are suppressed if they are too large
(app.ini MAX_GIT_DIFF_LINES)
image
or contain lines that are too long
(app.ini MAX_GIT_DIFF_LINE_CHARACTERS)
image.

It would be nice if these could be explicitly loaded on-demand anyway. Like is now supported for "Show More" if the diff contains too many files.

Screenshots

GitHub supports this:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions