Skip to content

Commit d28bd92

Browse files
committed
fix: missing .Quoted() for stash message
Signed-off-by: leo <[email protected]>
1 parent 1b80ad5 commit d28bd92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/Stash.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public async Task<bool> PushAsync(string message, List<Models.Change> changes, b
3232
builder.Append("stash push --include-untracked ");
3333
if (keepIndex)
3434
builder.Append("--keep-index ");
35-
builder.Append("-m ").Append(message).Append(" -- ");
35+
builder.Append("-m ").Append(message.Quoted()).Append(" -- ");
3636

3737
foreach (var c in changes)
3838
builder.Append(c.Path.Quoted()).Append(' ');

0 commit comments

Comments
 (0)