History

fix: ssh connection remove '=' in port argument

GreeFine committed 3 years ago

Commit 0d0eb4a1 parent eb4c5f01 file · +1 −1Browse files

Unified · Split

git-transport/src/client/blocking_io/ssh.rs+1−1
@@ -41,7 +41,7 @@ pub fn connect( · 40 unmodified lines
41 if desired_version != Protocol::V1 {41 if desired_version != Protocol::V1 {
42 let mut args = vec![Cow::from("-o"), "SendEnv=GIT_PROTOCOL".into()];42 let mut args = vec![Cow::from("-o"), "SendEnv=GIT_PROTOCOL".into()];
43 if let Some(port) = port {43 if let Some(port) = port {
44 args.push(format!("-p={}", port).into());44 args.push(format!("-p{}", port).into());
45 }45 }
46 Some((46 Some((
47 args,47 args,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t