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

Commit b7f6fb2

Browse files
authored
Merge pull request #138 from github-for-unity/fixes/repository-manager-strange-call
Refactor repository manager
2 parents 87d2ed6 + adc260c commit b7f6fb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.Api/Git/RepositoryManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ private void Watcher_OnLocalBranchDeleted(string name)
413413

414414
private void Watcher_OnLocalBranchChanged(string name)
415415
{
416-
if (name == this.Repository.CurrentBranch)
416+
if (name == ActiveBranch?.Name)
417417
{
418418
OnActiveBranchChanged?.Invoke();
419419
UpdateGitStatus();

0 commit comments

Comments
 (0)