mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 12:45:00 +00:00
optimize(*): speed up for openning same repository that already opened before
This commit is contained in:
parent
65d89897f1
commit
073c189f18
4 changed files with 22 additions and 12 deletions
|
@ -958,7 +958,8 @@ namespace SourceGit.UI {
|
|||
sub.Path = Path.Combine(repo.Path, path);
|
||||
sub.Name = Path.GetFileName(path);
|
||||
sub.Parent = repo;
|
||||
sub.Open();
|
||||
|
||||
if (!(App.Current.MainWindow as Launcher).GotoRepo(sub)) sub.Open();
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue