From bb55edf32886fb19bb7c408c03c48518dbe074a9 Mon Sep 17 00:00:00 2001 From: Benjamin Tan Date: Thu, 7 Mar 2024 15:44:18 +0800 Subject: [PATCH] git: update error message for SSH error to stop referencing libssh2 --- cli/src/commands/git.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cli/src/commands/git.rs b/cli/src/commands/git.rs index 9f22ca7c4b..c68985e321 100644 --- a/cli/src/commands/git.rs +++ b/cli/src/commands/git.rs @@ -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)