Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 1d92bef

Browse files
committed
Add comment about when StatusChanged fires
Make log message a bit less bit yoda-y.
1 parent bf4c2f9 commit 1d92bef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/GitHub.App/Services/TeamExplorerContext.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ async Task RefreshAsync()
129129
}
130130
else if (newRepositoryPath != null)
131131
{
132-
log.Debug("Fire StatusChanged event when on a repository and anything changes");
132+
// For example, this will fire when the HEAD commit changes
133+
log.Debug("Fire StatusChanged event if anything about an active repository has changed");
133134
StatusChanged?.Invoke(this, EventArgs.Empty);
134135
}
135136

0 commit comments

Comments
 (0)