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

Allow to switch From <> To diff direction #2010

Open
themilkman opened this issue Feb 19, 2025 · 0 comments
Open

Allow to switch From <> To diff direction #2010

themilkman opened this issue Feb 19, 2025 · 0 comments

Comments

@themilkman
Copy link

Problem description

When comparing two selected commits, it is currently not possible to switch the diff direction (diff A B vs diff B A).

Preferred solution

Add command palette entry to switch the direction of the current diff. There might be smarter ways to do this regarding UX, but that'd already be helpful.

Alternatives

Respect the order of the selected commits on clicking. Not sure how to smart handle multiple selections then, maybe take the first always as base.

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

No branches or pull requests

1 participant