git show old version of file in editor
If you are using bash
, you can use Process Substitution.
gvim <(git show commit-id:filename)
Just use >
and put it into a file that you can open in emacs.
git show commit-id:filename > oldfile
Then open the file in emacs.