The diff view shows an incorrect change:
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:
That would be correct, as well.
Even this diff will be displayed in vs-code like (best view in my opinion):
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
The diff view shows an incorrect change:
This diff looks as if the
datatag had been removed and avaluetag inserted in its place. That would result in incorrectly formatted XML.The change was not made in this way either.
git diffdisplays the change this way as:That would be correct, as well.
Even this diff will be displayed in vs-code like (best view in my opinion):
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