I get a patch using command:
git format-patch -1 --numbered-files --unified=100000 -o tmpdir commit_sha1 --file_name
Now I'm interested in a specific line from a specific file from the patch. I want to see the change history of this line. I could use the git log like this:
git log -L10,10:file_name
But the problem is that the line number in the patch does not match the line number in the original file.
Is there any way to get git log of line from a patch?