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

Add a command to show the diff of a commit with the working tree #782

Open
noamraph opened this issue Aug 25, 2023 · 0 comments
Open

Add a command to show the diff of a commit with the working tree #782

noamraph opened this issue Aug 25, 2023 · 0 comments
Assignees
Labels
feature request Feature request

Comments

@noamraph
Copy link

Describe the feature that you'd like
It would be nice to have an additional command in the context menu when right-clicking a commit, "compare to working tree".

Additional context (optional)
Comparing the working tree to a commit is something I do a lot, when reviewing a pull request by me or by someone else. I compare with the master branch, and It allows me to easily see the changes and make changes.

I just searched for a few minutes for how to do it with git-graph (which is an excellent extension, thanks a lot!). I found this related issue: #457, but it didn't help me, since it only allowed me to view the difference with the files changed in the specific commit in master, which didn't include my changes.

I then found out that I can select the commit and the working tree, to get exactly what I wanted. But it took me some time to discover (I even installed GitLens, following some Stack Overflow advice, and soon removed it. Yuck.). Adding this to the commit context menu would have helped me discover it much more quickly.

Thanks a lot!
Noam

@noamraph noamraph added the feature request Feature request label Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request
Projects
None yet
Development

No branches or pull requests

2 participants