Skip to content

Commit

Permalink
(Re)add a short, more specific comment about user@
Browse files Browse the repository at this point in the history
  • Loading branch information
EliahKagan committed Apr 13, 2024
1 parent cf59f57 commit 03fb64a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gix-transport/src/client/blocking_io/ssh/mod.rs
Expand Up @@ -124,7 +124,7 @@ pub fn connect(
Usable(host) => host,
Dangerous(host) => Err(Error::AmbiguousHostName { host: host.into() })?,
Absent => panic!("BUG: host should always be present in SSH URLs"),
}),
}), // We omit `user@` with `-G`, so it need not be safe here, but host must be safe.
);
gix_features::trace::debug!(cmd = ?cmd, "invoking `ssh` for feature check");
kind = if cmd.status().ok().map_or(false, |status| status.success()) {
Expand Down

0 comments on commit 03fb64a

Please sign in to comment.