From 8d76522be2601a9b1955ac957e839a381ffb5e72 Mon Sep 17 00:00:00 2001
From: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com>
Date: Wed, 22 Jun 2022 19:19:22 -0400
Subject: [PATCH] remove HOMEBREW_SSH_PATH
---
Library/Homebrew/brew.sh | 3 ---
Library/Homebrew/env_config.rb | 4 ----
docs/Manpage.md | 5 -----
3 files changed, 12 deletions(-)
diff --git a/Library/Homebrew/brew.sh b/Library/Homebrew/brew.sh
index a6e123a620..951ac5f281 100644
--- a/Library/Homebrew/brew.sh
+++ b/Library/Homebrew/brew.sh
@@ -404,9 +404,6 @@ setup_ssh() {
"${HOMEBREW_BREWED_SSH_PATH}" -V &>/dev/null
then
HOMEBREW_SSH="${HOMEBREW_BREWED_SSH_PATH}"
- elif [[ -n "${HOMEBREW_SSH_PATH}" ]]
- then
- HOMEBREW_SSH="${HOMEBREW_SSH_PATH}"
else
HOMEBREW_SSH="ssh"
fi
diff --git a/Library/Homebrew/env_config.rb b/Library/Homebrew/env_config.rb
index 567f875f08..9fc076f950 100644
--- a/Library/Homebrew/env_config.rb
+++ b/Library/Homebrew/env_config.rb
@@ -324,10 +324,6 @@ module Homebrew
"`git` repos over `ssh`.",
default_text: "`$HOME/.ssh/config`",
},
- HOMEBREW_SSH_PATH: {
- description: "Set this value to a new enough `ssh` executable for Homebrew to use.",
- default_text: "ssh",
- },
HOMEBREW_SKIP_OR_LATER_BOTTLES: {
description: "If set along with `HOMEBREW_DEVELOPER`, do not use bottles from older versions " \
"of macOS. This is useful in development on new macOS versions.",
diff --git a/docs/Manpage.md b/docs/Manpage.md
index 22db08fa59..ffe4a55fe1 100644
--- a/docs/Manpage.md
+++ b/docs/Manpage.md
@@ -2173,11 +2173,6 @@ example, run `export HOMEBREW_NO_INSECURE_REDIRECT=1` rather than just
*Default:* `$HOME/.ssh/config`
-- `HOMEBREW_SSH_PATH`
-
Set this value to a new enough `ssh` executable for Homebrew to use.
-
- *Default:* `ssh`.
-
- `HOMEBREW_SKIP_OR_LATER_BOTTLES`
If set along with `HOMEBREW_DEVELOPER`, do not use bottles from older versions of macOS. This is useful in development on new macOS versions.