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 SelectNextForkPointAsDiffBase hotkey #9878

Merged
merged 2 commits into from Mar 13, 2022

Conversation

mstv
Copy link
Member

@mstv mstv commented Feb 27, 2022

Proposed changes

Feature: Quickly view the changes made in a branch.

  • Add SelectNextForkPointAsDiffBase hotkey Ctrl+K
    Searches for the next fork point and selects it in addition to the single-selected revision.
    If two (or more) revisions are selected, the last selection is replaced with its next fork point.
    A fork point is a parent revision with multiple children or the head of any branch.
  • Expose the existing command GoToMergeBase to HotkeySettingsManager and assign Ctrl+Shift+K

Hint: Hit Ctrl+K, then Ctrl+Shift+K in order to select the fork point only.

Screenshots

After

initial after Ctrl+K
image image

grafik

Test methodology

  • manual

Test environment(s)

  • Git Extensions 33.33.33
  • Build 69c7bc6
  • Git 2.35.1.windows.1
  • Microsoft Windows NT 10.0.19044.0
  • .NET 5.0.12
  • DPI 96dpi (no scaling)

Merge strategy

I agree that the maintainer squash merge this PR (if the commit message is clear).


✒️ I contribute this code under The Developer Certificate of Origin.

and expose GoToMergeBase to HotkeySettingsManager
Switch/new hotkey: Ctrl+[Shift]+K
@mstv
Copy link
Member Author

mstv commented Mar 12, 2022

I am going to merge this in one day.

@mstv mstv merged commit 6f613ff into gitextensions:master Mar 13, 2022
@ghost ghost added this to the vNext milestone Mar 13, 2022
@mstv mstv deleted the feature/select_forkpoint branch March 13, 2022 21:35
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

Successfully merging this pull request may close these issues.

None yet

2 participants