You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.Open 1.txt 2.txt
2.Compare
3.You will see compare is incorrect and is full different
4.If you add 1 Tab to all lines in 2.txt compare will result correct diff only in tabs
Thank you. This appears to be a case of changes only to the whitespace. The diff editor falls back to character-by-character comparison in case the lines differ only via whitespace.
Activity
alexdima commentedon Mar 30, 2017
][Noname][ (@justnonamenoname)
Could you please attach the two txt files on github?
Here's what I get on

gta-samp.comjustnonamenoname commentedon Mar 30, 2017
1.txt
2.txt
alexdima commentedon Mar 30, 2017
Thank you. This appears to be a case of changes only to the whitespace. The diff editor falls back to character-by-character comparison in case the lines differ only via whitespace.
alexdima commentedon Jul 5, 2017
I reimplemented how diffing works when trim whitespace is not ignored:
before:
after:
Fixes microsoft#23636: when trim whitespace is not ignored, first dif…