I am working on source code and want to review the code of a previous commit. Usually I would do this with git difftool --dir-diff
and meld as the difftool. However, when I want to look at a farther back commit, or a commit that was prior to a refactor, meld makes it hard to read because the code is altered too much.
The other solution I can think of is to git stash
the changes, checkout the other commit and view the code. But then I can't view my current code and it also takes quite long.
I am looking for (maybe) a tool, that opens the source code of a previous commit for me to view parallel to the current code. Basically like the dirdiff
solution without the diff part. I am using the git cli. Thanks and best regards.