mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
refactor: add repository
This commit is contained in:
parent
52fba29613
commit
275a52eb5c
6 changed files with 12 additions and 13 deletions
|
@ -63,8 +63,7 @@ namespace SourceGit.Views
|
|||
return;
|
||||
}
|
||||
|
||||
var normalizedPath = test.StdOut.Trim().Replace("\\", "/");
|
||||
var node = ViewModels.Preference.Instance.FindOrAddNodeByRepositoryPath(normalizedPath, parent, false);
|
||||
var node = ViewModels.Preference.Instance.FindOrAddNodeByRepositoryPath(test.StdOut.Trim(), parent, false);
|
||||
ViewModels.Welcome.Instance.Refresh();
|
||||
|
||||
var launcher = this.FindAncestorOfType<Launcher>()?.DataContext as ViewModels.Launcher;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue