We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf59f57 commit 03fb64aCopy full SHA for 03fb64a
gix-transport/src/client/blocking_io/ssh/mod.rs
@@ -124,7 +124,7 @@ pub fn connect(
124
Usable(host) => host,
125
Dangerous(host) => Err(Error::AmbiguousHostName { host: host.into() })?,
126
Absent => panic!("BUG: host should always be present in SSH URLs"),
127
- }),
+ }), // We omit `user@` with `-G`, so it need not be safe here, but host must be safe.
128
);
129
gix_features::trace::debug!(cmd = ?cmd, "invoking `ssh` for feature check");
130
kind = if cmd.status().ok().map_or(false, |status| status.success()) {
0 commit comments