mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-24 10:50:52 +08:00
fix<Dashboard>: wrong path format when opening submodules, causing incorrect folder to be located when opening explorer
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user