Is it possible to open a specific revision of a file in Emacs with Magit without changing the current branch?
I have rebased some local changes to a revision where the modified functions were replaced by functionality in a different file. I would like to open the old revision of my changes in a separate buffer so I can compare the changes side by side.
My current hacky solution has been to run git show <branch pre-rebase>:file > old_file
and then open old_file
in Emacs.
git-timemachine
but since my code has been rebased I don't think it will work since the old code is not part of the current branch's history?