Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbc19dc commit a324840Copy full SHA for a324840
src/libgit2/transports/ssh_exec.c
@@ -158,7 +158,7 @@ static int get_ssh_cmdline(
158
else if ((error = git_config__get_string_buf(&ssh_cmd, cfg, "core.sshcommand")) < 0 && error != GIT_ENOTFOUND)
159
goto done;
160
161
- error = git_str_printf(out, "%s %s %s \"%s%s%s\" \"%s\" \"%s\"",
+ error = git_str_printf(out, "%s %s %s \"%s%s%s\" \"%s '%s'\"",
162
ssh_cmd.size > 0 ? ssh_cmd.ptr : default_ssh_cmd,
163
url->port_specified ? "-p" : "",
164
url->port_specified ? url->port : "",
0 commit comments