Sigh. I suggest you go read up on how diffing algorithms work. Google patience diff algorithm. No diffing algorithm can ever match what you think has "changed" in all situations. There are literally infinite ways to go from document A to document B. Any diffing algorithm simply has to guess which of those ways was actually used. Every diffing algorithm will get it wrong from time to time.
|