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 10, 2024
1 parent 146a3e0 commit 6152514
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 @@ -275,8 +275,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 6152514

Please sign in to comment.