fix: missing .Quoted() for stash message

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo
2025-07-15 11:36:10 +08:00
parent 1b80ad5f5b
commit d28bd92e4f

View File

@@ -32,7 +32,7 @@ namespace SourceGit.Commands
builder.Append("stash push --include-untracked ");
if (keepIndex)
builder.Append("--keep-index ");
builder.Append("-m ").Append(message).Append(" -- ");
builder.Append("-m ").Append(message.Quoted()).Append(" -- ");
foreach (var c in changes)
builder.Append(c.Path.Quoted()).Append(' ');