Skip to content

Commit

Permalink
git: update error message for SSH error to stop referencing libssh2
Browse files Browse the repository at this point in the history
  • Loading branch information
bnjmnt4n committed Apr 2, 2024
1 parent 6222cb2 commit ea93486
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cli/src/commands/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,7 @@ fn map_git_error(err: git2::Error) -> CommandError {
successfully load certificates. Try setting it to the path of a directory that \
contains a `.ssh` directory."
} else {
"Jujutsu uses libssh2, which doesn't respect ~/.ssh/config. Does `ssh -F \
/dev/null` to the host work?"
"There was an error creating an SSH connection. Are you able to SSH to the host?"
};

user_error_with_hint(err, hint)
Expand Down

0 comments on commit ea93486

Please sign in to comment.