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

Commit 2a06427

Browse files
Changing the OnHeadUpdated handler
1 parent cb17d01 commit 2a06427

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GitHub.Api/Git/RepositoryManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,10 +416,10 @@ private void Watcher_OnConfigChanged()
416416
RefreshConfigData(true);
417417
}
418418

419-
private void Watcher_OnHeadChanged(string contents)
419+
private void Watcher_OnHeadChanged()
420420
{
421421
Logger.Trace("Watcher_OnHeadChanged");
422-
head = contents;
422+
ReadHead();
423423
OnActiveBranchChanged?.Invoke(GetActiveBranch());
424424
OnActiveRemoteChanged?.Invoke(GetActiveRemote());
425425
UpdateGitStatus();

0 commit comments

Comments
 (0)