Unified · Split
| @@ -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, |