split-diff
split-diff copied to clipboard
[Feature request] Ability to pick a commit for the diff rather than using the very last one.
I often use this module to compare with older versionned files. I have to first checkout the old file from a specific commit onto a temporary file, then open them side by side, then toggle split-diff. When I need to diff with the very last version, I can just toggle diff-split and it finds it automatically. I would love to see this git integration to be generalized to any commit.
Would it be possible to have a command "split-diff: pick a commit" that would either show a list of commits (from the most recent) to pick from, or just wait for the user to input a sha identifier, then use the file from that commit for the diff ?
I'd definitely like to add this.
In the meantime, you could try git-time-machine to see if it fits your workflow at all.
Thank you !