For reasons out of my control, I have two repositories (say, "R" and "S"), and code was moved from one repository to another. More specifically:
R:
Root ... a (add "code" folder) --- b (changes in "code") ... f (remove "code") ...
S:
Root ... a (add "code" removed from Rf) ... d (changes in "code") ...
Is there any way to easily:
get a diff of the "code" pathspec between the repos, as if Rf and Sa are combined (and since they "cancel" each other out, didn't happen)? In other words, view a diff of "code" between Rb and Sd?
view a "git blame" so to speak across repositories?
I am aware that theoretically I could filter-branch, pull that code out into a submodule, and reconstruct it, but such an occurrence has happened enough that doing so isn't feasible.