Skip to content

Commit bcefb77

Browse files
committed
code_style: remove comment
Signed-off-by: leo <longshuang@msn.cn>
1 parent aa1c8b1 commit bcefb77

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/ViewModels/Histories.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,6 @@ public void DoubleTapped(Models.Commit commit)
236236
var remoteBranch = _repo.Branches.Find(x => x.FriendlyName == d.Name);
237237
if (remoteBranch != null)
238238
{
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.
241239
var localBranch = _repo.Branches.Find(x => x.IsLocal && x.Upstream == remoteBranch.FullName);
242240
if (localBranch is { TrackStatus.Ahead.Count: 0 })
243241
{
@@ -248,9 +246,7 @@ public void DoubleTapped(Models.Commit commit)
248246
}
249247

250248
if (firstRemoteBranch == null)
251-
{
252249
firstRemoteBranch = remoteBranch;
253-
}
254250
}
255251
}
256252

0 commit comments

Comments
 (0)