Background: A project I once worked on changed its licensing, and I want to know how much of my code is still in the final product.
How can I take an old commit ID and compare the changes made in that commit with the current code in any branches latest commit?
EX: I add some code
int b = j+k;
updateRefs(b,k);
and later this code gets changed to
int b = j+m;
updateRefs(b,k);
How can I see how much of my code (ex the updateRefs(b,k);
) is still left in the latest commit of a branch?