I have a git diff output that contains lines like this: index 0056c73..92c6cbd 100644
for each file. I know which repository it comes from, but unfortunately have no idea which revision of the repository it is diffing against.
How do I find the commit of the repository that the diff is against?
Alternately, how do I find the exact commit of each file that the pre-image hashes in the diff correspond to? (i.e. which version of a file has the 0056c73
hash in the example above)