mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-21 13:20:30 +08:00
enhance: supports commit template with relative path (#1590)
Co-authored-by: King <badly1984@hotmail.com> Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -1635,6 +1635,9 @@ namespace SourceGit.ViewModels
|
||||
|
||||
if (!string.IsNullOrEmpty(gitTemplate))
|
||||
{
|
||||
if (!Path.IsPathRooted(gitTemplate))
|
||||
gitTemplate = Native.OS.GetAbsPath(_repo.FullPath, gitTemplate);
|
||||
|
||||
var friendlyName = gitTemplate;
|
||||
if (!OperatingSystem.IsWindows())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user