Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
The graphical diff comparison in git can only deal with small changes in source code files now, if there is a big change in source code, the diff tool can hardly find the corresponding code parts for comparison, instead it focuses on irrelevant single line characters like { and } as same lines.
I wish it could be improved by figuring out source code items(just as those in the navigator) for two source code files/versions, and create a jump function when double clicking the item text if the element(function or class) in the left file is not in the nearby position of the right file, then the right file jumps to position of the same function or class, resulting a meaningful comparison. The difference graph lines should be drawn for each element no matter the difference occurs in nearby positions naturally or after double clicking the element text.