diff --git a/Git/Repository.cs b/Git/Repository.cs index 3d364b5b..983628a6 100644 --- a/Git/Repository.cs +++ b/Git/Repository.cs @@ -207,14 +207,13 @@ namespace SourceGit.Git { /// /// public void AssertCommand(string err) { - if (!string.IsNullOrEmpty(err)) { - App.RaiseError(err); - } else { - Branches(true); - OnBranchChanged?.Invoke(); - OnCommitsChanged?.Invoke(); - OnWorkingCopyChanged?.Invoke(); - } + if (!string.IsNullOrEmpty(err)) App.RaiseError(err); + + Branches(true); + OnBranchChanged?.Invoke(); + OnCommitsChanged?.Invoke(); + OnWorkingCopyChanged?.Invoke(); + OnTagChanged?.Invoke(); isWatcherDisabled = false; }