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
4141 if desired_version != Protocol::V1 {
4242 let mut args = vec![Cow::from("-o"), "SendEnv=GIT_PROTOCOL".into()];
4343 if let Some(port) = port {
44− args.push(format!("-p={}", port).into());
44+ args.push(format!("-p{}", port).into());
4545 }
4646 Some((
4747 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