mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-21 18:35:00 +00:00
fix: Combine branch and commit refresh into a single thread
This commit is contained in:
parent
1ee7d1184e
commit
97222942d7
1 changed files with 5 additions and 2 deletions
|
@ -120,8 +120,11 @@ namespace SourceGit.Models
|
||||||
Task.Run(_repo.RefreshSubmodules);
|
Task.Run(_repo.RefreshSubmodules);
|
||||||
}
|
}
|
||||||
|
|
||||||
Task.Run(_repo.RefreshBranches);
|
Task.Run(() =>
|
||||||
Task.Run(_repo.RefreshCommits);
|
{
|
||||||
|
_repo.RefreshBranches();
|
||||||
|
_repo.RefreshCommits();
|
||||||
|
});
|
||||||
Task.Run(_repo.RefreshWorkingCopyChanges);
|
Task.Run(_repo.RefreshWorkingCopyChanges);
|
||||||
Task.Run(_repo.RefreshWorktrees);
|
Task.Run(_repo.RefreshWorktrees);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue