Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 0e5690e

Browse files
authored
Merge pull request #753 from github-for-unity/fixes/window-remote-branch-update-variable
Window.currentBranchAndRemoteHasUpdate never reset to false
2 parents 408e626 + d387d95 commit 0e5690e

File tree

1 file changed

+2
-0
lines changed
  • src/UnityExtension/Assets/Editor/GitHub.Unity/UI

1 file changed

+2
-0
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/Window.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,8 @@ private void MaybeUpdateData()
279279
{
280280
if (repoBranch == null || repoRemote == null || currentBranchAndRemoteHasUpdate)
281281
{
282+
currentBranchAndRemoteHasUpdate = false;
283+
282284
var repositoryCurrentBranch = Repository.CurrentBranch;
283285
var updatedRepoBranch = repositoryCurrentBranch.HasValue ? repositoryCurrentBranch.Value.Name : null;
284286

0 commit comments

Comments
 (0)