We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa1c8b1 commit bcefb77Copy full SHA for bcefb77
1 file changed
src/ViewModels/Histories.cs
@@ -236,8 +236,6 @@ public void DoubleTapped(Models.Commit commit)
236
var remoteBranch = _repo.Branches.Find(x => x.FriendlyName == d.Name);
237
if (remoteBranch != null)
238
{
239
- // If there's a local branch that is tracking on this remote branch and it does not ahead of
240
- // its upstream, show `Checkout and Fast-Forward` popup.
241
var localBranch = _repo.Branches.Find(x => x.IsLocal && x.Upstream == remoteBranch.FullName);
242
if (localBranch is { TrackStatus.Ahead.Count: 0 })
243
@@ -248,9 +246,7 @@ public void DoubleTapped(Models.Commit commit)
248
246
}
249
247
250
if (firstRemoteBranch == null)
251
- {
252
firstRemoteBranch = remoteBranch;
253
- }
254
255
256
0 commit comments