mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
Force to update repository status even if error happends
This commit is contained in:
parent
78fc438557
commit
0f5382e474
1 changed files with 7 additions and 8 deletions
|
@ -207,14 +207,13 @@ namespace SourceGit.Git {
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="err"></param>
|
/// <param name="err"></param>
|
||||||
public void AssertCommand(string err) {
|
public void AssertCommand(string err) {
|
||||||
if (!string.IsNullOrEmpty(err)) {
|
if (!string.IsNullOrEmpty(err)) App.RaiseError(err);
|
||||||
App.RaiseError(err);
|
|
||||||
} else {
|
|
||||||
Branches(true);
|
Branches(true);
|
||||||
OnBranchChanged?.Invoke();
|
OnBranchChanged?.Invoke();
|
||||||
OnCommitsChanged?.Invoke();
|
OnCommitsChanged?.Invoke();
|
||||||
OnWorkingCopyChanged?.Invoke();
|
OnWorkingCopyChanged?.Invoke();
|
||||||
}
|
OnTagChanged?.Invoke();
|
||||||
|
|
||||||
isWatcherDisabled = false;
|
isWatcherDisabled = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue