I added a file to the index with:
git add somefile.txt
I then got the SHA1 for this file with:
git hash-object somefile.txt
I now have a SHA1 and I would like to retrieve the filename of the object in the index using the SHA1.
git show 5a5bf28dcd7944991944cc5076c7525439830122
This command returns the file contents but not the name of the file.
How do I get the full filename and path back from the SHA1?