“Show changes as unified diff” compares files in reverse order.
By sideproj... on June 09, 2010 16:14 (imported from Google Code)
What steps will reproduce the problem?
- Open the "Log Messages"
- Select two changes
- Right click and choose "Show changes as unified diff"
- The resulting diff shows changes from new->old (backwards) instead of old->new.
What is the expected output? What do you see instead:
I would expect to see '+' next to the lines that I added and '-' next to lines that I removed instead of the other way around.
What version of the product are you using? On what operating system:
Windows XP Pro SP2
Please provide any additional information below:
Attached is a patch that reverses the order of the compare.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information