From 61525142533570e08660019cc934a3a9e5e173e8 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 9122399631..d532855b3b 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)