Skip to content

Incorrect representation of the diff #2517

Description

@sschuman-aip

The diff view shows an incorrect change:

Image

This diff looks as if the data tag had been removed and a value tag inserted in its place. That would result in incorrectly formatted XML.

The change was not made in this way either.

git diff displays the change this way as:

Image

That would be correct, as well.
Even this diff will be displayed in vs-code like (best view in my opinion):

Image

Attached is a minimal repository to reproduce the bug. Simply open it and view the diff.

The same bug occurs even if you open the changes after staging or committing.

Temp.zip

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions