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

Fix variable display #3723

Merged
merged 3 commits into from
Jan 22, 2019
Merged

Fix variable display #3723

merged 3 commits into from
Jan 22, 2019

Conversation

rjbou
Copy link
Collaborator

@rjbou rjbou commented Jan 16, 2019

opam config list and opam config var <var> don't give the same result, as the first one look first at switch modified variables (e.g. with opam config set) while the second does the opposite.

Fixed to the same behavior: resolving it first with switch state (loading it only for package defined variables), otherwise, global state.

Confusing pointed in #3717.

@rjbou rjbou merged commit 0b5dcaa into ocaml:master Jan 22, 2019
@rjbou rjbou added this to the 2.1.0 milestone Feb 28, 2019
@rjbou rjbou mentioned this pull request Mar 27, 2019
@rjbou rjbou modified the milestones: 2.1.0, 2.0.4 Mar 28, 2019
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

Successfully merging this pull request may close these issues.

1 participant