Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
XachaB opened this issue Jun 9, 2017 · 2 comments
Labels

Comments

@XachaB
Copy link

XachaB commented Jun 9, 2017

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 ?

@mupchrch
Copy link
Owner

mupchrch commented Jun 9, 2017

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.

@XachaB
Copy link
Author

XachaB commented Jun 9, 2017

Thank you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants