enhance: remove code not needed to improve performance

This commit is contained in:
leo 2024-07-19 09:47:41 +08:00
parent f0649c95b5
commit 9a15ff59d4
No known key found for this signature in database

View file

@ -149,7 +149,7 @@ namespace SourceGit.Models
var oldCount = unsolved.Count;
commit.CanPushToUpstream = canPushCommits.Remove(commit.SHA);
commit.CanPullFromUpstream = !commit.CanPushToUpstream && canPullCommits.Remove(commit.SHA);
commit.CanPullFromUpstream = canPullCommits.Remove(commit.SHA);
// Update current y offset
offsetY += UNIT_HEIGHT;