Skip to content

Incomplete diff highlighting (only the first line of a block?) #35593

@PiOverFour

Description

@PiOverFour

Description

In a diff for a PR, the highlighting is off: not every addition or deletion is highlighted. It looks like in a given block, only the first line is compared, even when using the option to ignore changes to EOL whitespace.

Example: https://projects.blender.org/blender/blender/pulls/147347/files
Also on Gitea demo: https://demo.gitea.com/pioverfour/test_diff/commit/a64d3749dc037591358b69cfc5eaddb19aa7cea8

Gitea Expected (from the magit git client)

Gitea Version

1.24.3

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

I can reproduce this using demo.gitea.com.

Database

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions