ben Posted November 22, 2022 Report Share Posted November 22, 2022 I am trying to understand some of the output from Plastic's diff tool. I'm unsure what some of the hilighted areas are in this diff, when they appear to be identical. The main change from the left to the right here is the addition of the "Note" paragraph. But the "## How it works" appears to be flagged as different on the right, as well as the "to the other Unreal Engine" section even though the only bit that was changed is the "4" being removed. Can you explain a bit what the colours mean in this example and why some areas are flagged as different? Link to comment Share on other sites More sharing options...
tucny Posted November 23, 2022 Report Share Posted November 23, 2022 Can you provide the sources for both versions, or links for them? Looks like a public thing. Link to comment Share on other sites More sharing options...
ollieblanks Posted November 30, 2022 Report Share Posted November 30, 2022 Quite right that you are confused by this, the diff does seem odd. As @tucny suggests, can you share the sources of these files for review? Link to comment Share on other sites More sharing options...
Wolfram Posted December 1, 2022 Report Share Posted December 1, 2022 As the whole document is highlighted, I assume that the line ending/file encoding changed. Therefore, it gets confused by trying to diff every single line, without checking for minimal differences. So for example, for line number 19, it is comparing the left line "Join the LuaMachine Discord" with the right "## Discord Channel", and therefore finds the match "Discord". Disable line ending/encoding comparison in the "three-dot-menu" on the right, by choosing one of the "Ignore EOLs" options. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now