mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-16 16:05:00 +00:00
code_style: remove comment
Some checks failed
Some checks failed
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
aa1c8b1cc1
commit
bcefb773c1
1 changed files with 0 additions and 4 deletions
|
@ -236,8 +236,6 @@ namespace SourceGit.ViewModels
|
|||
var remoteBranch = _repo.Branches.Find(x => x.FriendlyName == d.Name);
|
||||
if (remoteBranch != null)
|
||||
{
|
||||
// If there's a local branch that is tracking on this remote branch and it does not ahead of
|
||||
// its upstream, show `Checkout and Fast-Forward` popup.
|
||||
var localBranch = _repo.Branches.Find(x => x.IsLocal && x.Upstream == remoteBranch.FullName);
|
||||
if (localBranch is { TrackStatus.Ahead.Count: 0 })
|
||||
{
|
||||
|
@ -248,11 +246,9 @@ namespace SourceGit.ViewModels
|
|||
}
|
||||
|
||||
if (firstRemoteBranch == null)
|
||||
{
|
||||
firstRemoteBranch = remoteBranch;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (_repo.CanCreatePopup())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue