private void Watcher_OnLocalBranchChanged(string name) { if (name == activeBranch?.Name) { // commit of current branch changed, trigger OnHeadChanged OnCommitChanged?.Invoke(); UpdateGitStatus(); } }
private void RepositoryManager_OnHeadChanged() { OnCommitChanged?.Invoke(); }