Diff applications going crazy if the functions in the file were reordered

Posted by VitalyB on Stack Overflow See other posts from Stack Overflow or by VitalyB
Published on 2011-01-01T23:23:08Z Indexed on 2011/01/03 0:53 UTC
Read the original article Hit count: 186

Filed under:
|
|

I've been busy refactoring a file in our project and as part of my changes I reordered the function to a more logical way. However, now when I'm trying to review my changes I get a mess: The diff applications has no idea that the functions were merely reordered and marks 80% of the file content as changed.

I've tried to see the diff with both "Beyond Compare" and "WinMerge" to the same result. Is there some setting that might help me here?

As tagged, I am using C# on Windows.

© Stack Overflow or respective owner

Related posts about c#

Related posts about Windows