mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 12:15:00 +00:00
fix<Clone>: fix crash reported by https://gitee.com/sourcegit/sourcegit/issues/I43UGJ
This commit is contained in:
parent
d7290a9cf6
commit
78bb68b82e
3 changed files with 16 additions and 7 deletions
|
@ -17,7 +17,7 @@ namespace SourceGit.Commands {
|
|||
|
||||
rs = rs.Trim();
|
||||
if (Path.IsPathRooted(rs)) return rs;
|
||||
return Path.Combine(Cwd, rs);
|
||||
return Path.GetFullPath(Path.Combine(Cwd, rs));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue