This may not be what git is designed for - which I can accept - but I'm curious if this is possible, seeing as it comes up alot for me.
Scenario: A developer moves method X from file A to file B (both existing tracked files). I want to know if they also changed method X on copy
Now, if I use gitk to inspect file B, I can see the introduction of the method. The issue is that I want to know if the method was simply copy/pasted, or also modified in the process.
My gut says that this information is lost, but is there a way I can reverse engineer which file method X was copied from using git?
I.e. Solve for file A using git. Is this possible?