Repository navigation
Conversation
…h actions between them - Dropping branch S onto branch T opens a menu with: compare S with T, merge S into T (when T is current), rebase / interactive rebase S on T (when S is current) and create a PR from S into T (local branches resolve to their upstream) - Works within and across the local and remote branch trees - While dragging, the source row is faded, the row under the pointer is highlighted and a label (`source → target`) follows the pointer - Add `Remote.TryGetCreatePullRequestURL` overload with an explicit target branch (cross-fork PRs supported for GitHub) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nches - Branch labels in the commit graph can be dragged onto other branch labels in the graph or onto branches in the branch trees (and vice versa), opening the same context menu with the actions between the two branches - While dragging, the dragged label in the graph is faded and the label under the pointer is highlighted - Move the drag state, pointer label and branch-pair context menu out of `BranchTree` into a shared `BranchDragDrop` helper - Add `CommitRefsPresenter.HitTestDecorator` for precise label hit-testing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Drag a branch onto another branch to open a context menu with only the actions between those two branches.
source → targetlabel follows the pointerBranchDragDrop;Remote.TryGetCreatePullRequestURLgained an overload with an explicit target branchScreenshots
Dragging
feature/drag-branch-onto-branchontomasterin the graph:The resulting menu:
Merge is greyed out here because
masteris not checked out; Create PR is greyed out because the dragged branch had not been pushed yet.🤖 Generated with Claude Code