mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 20:24:59 +00:00
style<Repository>: normalize repository's path
This commit is contained in:
parent
1c005983c7
commit
e3a7abe776
7 changed files with 26 additions and 19 deletions
|
@ -192,8 +192,8 @@ namespace SourceGit.Views {
|
|||
Dispatcher.UIThread.Invoke(() => {
|
||||
var repo = ViewModels.Preference.AddRepository(root, gitDir);
|
||||
var node = new ViewModels.RepositoryNode() {
|
||||
Id = root,
|
||||
Name = Path.GetFileName(root),
|
||||
Id = repo.FullPath,
|
||||
Name = Path.GetFileName(repo.FullPath),
|
||||
Bookmark = 0,
|
||||
IsRepository = true,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue