Skip to content

Commit 9bf9178

Browse files
author
dakkafex
committed
fix: rebase the current branch onto the other one from the drop menu
The rebase entry passed the branches to the Rebase popup the wrong way round, so it rebased the other branch onto the current one while the menu text said the opposite.
1 parent 0a45c6a commit 9bf9178

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/Views/BranchTree.axaml.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1551,7 +1551,7 @@ private async Task<ContextMenu> CreateContextMenuForBranchDropAsync(ViewModels.R
15511551
rebase.Click += (_, e) =>
15521552
{
15531553
if (repo.CanCreatePopup())
1554-
repo.ShowPopup(new ViewModels.Rebase(repo, other, current));
1554+
repo.ShowPopup(new ViewModels.Rebase(repo, current, other));
15551555
e.Handled = true;
15561556
};
15571557

0 commit comments

Comments
 (0)