Force to update repository status even if error happends

This commit is contained in:
leo 2020-07-06 09:13:39 +08:00
parent 78fc438557
commit 0f5382e474

View file

@ -207,14 +207,13 @@ namespace SourceGit.Git {
/// </summary>
/// <param name="err"></param>
public void AssertCommand(string err) {
if (!string.IsNullOrEmpty(err)) {
App.RaiseError(err);
} else {
if (!string.IsNullOrEmpty(err)) App.RaiseError(err);
Branches(true);
OnBranchChanged?.Invoke();
OnCommitsChanged?.Invoke();
OnWorkingCopyChanged?.Invoke();
}
OnTagChanged?.Invoke();
isWatcherDisabled = false;
}