-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Adjust update to honor custom SSH command #21822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -292,7 +292,7 @@ PATH="/usr/bin:/bin:/usr/sbin:/sbin" | |||||||||||
| FILTERED_ENV=() | ||||||||||||
| ENV_VAR_NAMES=( | ||||||||||||
| HOME SHELL PATH TERM TERMINFO TERMINFO_DIRS COLUMNS DISPLAY LOGNAME USER CI SSH_AUTH_SOCK SUDO_ASKPASS | ||||||||||||
| http_proxy https_proxy ftp_proxy no_proxy all_proxy HTTPS_PROXY FTP_PROXY ALL_PROXY | ||||||||||||
| http_proxy https_proxy ftp_proxy no_proxy all_proxy HTTPS_PROXY FTP_PROXY ALL_PROXY GIT_SSH_COMMAND | ||||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think we want to pass this variable through transparently. Can we use You'll also need to make sure this interacts properly with Lines 1093 to 1097 in c437bf7
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I read the I also would like to understand how to treat the config and additional flags. Because from my understanding of the current code, it looks like I can change all places that use plain
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
To be more explicit: we're telling you we don't want to do that.
This seems overkill. Let's keep this change as tightly scoped as possible. |
||||||||||||
| ) | ||||||||||||
| # Filter all but the specific variables. | ||||||||||||
| for VAR in "${ENV_VAR_NAMES[@]}" "${!HOMEBREW_@}" | ||||||||||||
|
|
||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is worth checking if this command is actually a non-empty string and valid?