split-diff icon indicating copy to clipboard operation
split-diff copied to clipboard

[Feature request] Ability to pick a commit for the diff rather than using the very last one.

Open XachaB opened this issue 8 years ago • 2 comments
trafficstars

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 ?

XachaB avatar Jun 09 '17 15:06 XachaB

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.

mupchrch avatar Jun 09 '17 16:06 mupchrch

Thank you !

XachaB avatar Jun 09 '17 16:06 XachaB