I have been reorganizing some code and would like to use a program to verify that the diff consists of only matching pairs of additions and deletions. I am using git as source control so hopefully there is something built into git that can do this for me? It would also be very useful if it could summarize lines that have either appeared or dissapeared
Does anybody know if there is such a tool?
As prusswan says – I do not think a tool exists currently. But git can detect renames and it should not be hard to detect changes to a file. The -M option also git to try and detect renames rather than just doing a delete/add diff.