We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Fast-Forward
1 parent 3b1a54d commit a5e783dCopy full SHA for a5e783d
src/ViewModels/Repository.cs
@@ -1355,8 +1355,9 @@ public ContextMenu CreateContextMenuForLocalBranch(Models.Branch branch)
1355
};
1356
menu.Items.Add(checkout);
1357
1358
+ var worktree = _worktrees.Find(x => x.Branch == branch.FullName);
1359
var upstream = _branches.Find(x => x.FullName == branch.Upstream);
- if (upstream != null)
1360
+ if (upstream != null && worktree == null)
1361
{
1362
var fastForward = new MenuItem();
1363
fastForward.Header = new Views.NameHighlightedTextBlock("BranchCM.FastForward", upstream.FriendlyName);
0 commit comments