Skip to content

Commit c47f819

Browse files
committed
enhance: support remote url with whitespaces (#2195)
Signed-off-by: leo <longshuang@msn.cn>
1 parent e25ab04 commit c47f819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/Clone.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public Clone(string ctx, string path, string url, string localName, string sshKe
1414
builder.Append("clone --progress --verbose ");
1515
if (!string.IsNullOrEmpty(extraArgs))
1616
builder.Append(extraArgs).Append(' ');
17-
builder.Append(url).Append(' ');
17+
builder.Append(url.Quoted()).Append(' ');
1818
if (!string.IsNullOrEmpty(localName))
1919
builder.Append(localName.Quoted());
2020

0 commit comments

Comments
 (0)