mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
fix<Dashboard>: wrong path format when opening submodules, causing incorrect folder to be located when opening explorer
This commit is contained in:
parent
eb5fa48199
commit
4bf0544153
1 changed files with 1 additions and 1 deletions
|
@ -944,7 +944,7 @@ namespace SourceGit.Views.Widgets {
|
|||
if (hitted == null || hitted != submodule) return;
|
||||
|
||||
var sub = new Models.Repository();
|
||||
sub.Path = Path.Combine(repo.Path, submodule);
|
||||
sub.Path = Path.GetFullPath(Path.Combine(repo.Path, submodule));
|
||||
sub.GitDir = new Commands.QueryGitDir(sub.Path).Result();
|
||||
sub.Name = repo.Name + " : " + Path.GetFileName(submodule);
|
||||
|
||||
|
|
Loading…
Reference in a new issue