Skip to content

Commit

Permalink
Update error message for SSH error
Browse files Browse the repository at this point in the history
  • Loading branch information
bnjmnt4n committed Mar 23, 2024
1 parent 86f7ee8 commit 056128d
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 @@ -277,8 +277,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 056128d

Please sign in to comment.