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