- Notifications
You must be signed in to change notification settings - Fork928
fix(cli): do not overwrite repeated SSH options in config-ssh#13819
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
65d83f2
to8e131eb
CompareJust to make sure I understand, this is because you can have multiple TIL keys can be duplicated. |
Yeah, they're additive in the case of |
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.
👍
978364b
intomainUh oh!
There was an error while loading.Please reload this page.
This PR changes the
config-ssh
such that it relies on SSH config option prioritization (first come, first served) to retain the behavior when options supporting multiple entries are defined. We also retain the ability to remove options by setting them to an empty value. Removal is perhaps the strangest part of this, and ultimately we may be better served by a different method of removing an option, but I think this is fine for now.Fixes#11593