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
|
@ -402,7 +402,7 @@ namespace SourceGit.UI {
|
|||
}
|
||||
|
||||
var repo = App.Preference.AddRepository(path, "");
|
||||
repo.Open();
|
||||
if (!(App.Current.MainWindow as Launcher).GotoRepo(repo)) repo.Open();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue