Skip to content
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

Implement possibility to check for existing config properties #47

Open
codablock opened this issue Apr 6, 2022 · 1 comment
Open

Implement possibility to check for existing config properties #47

codablock opened this issue Apr 6, 2022 · 1 comment

Comments

@codablock
Copy link

codablock commented Apr 6, 2022

Right now, it's only possible to get a config value, which will always return the default value for that property in case it was not set in the config. This makes it impossible to act differently on non-existing entries. As an example, the port should not default to 22 when it was passed as part of the ssh invocation.

An incarnation of this issue can be found in go-git.

@kke
Copy link

kke commented Jan 24, 2023

I would like to know if the IdentityFiles returned are all system defaults or explicitly set for the host / match.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants