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

arg: fix loading git location from config file at init #5842

Merged
merged 1 commit into from Feb 16, 2024

Conversation

rjbou
Copy link
Collaborator

@rjbou rjbou commented Feb 15, 2024

Cygwin support added the need to retrieve some information (cygwin binary path) from the config file before its proper loading by the global state (see https://github.com/ocaml/opam/pull/5544/files#diff-e674376a5ba688da9b6f11571be146af2e7bbde7c583630c6e8d4fc15c575035R575).
Git on windows PR #5718 used the same mechanism to load git location information at an early stage.
This PR fixes that retrieval implemented in #5718: git-location was searched among global-variables variables, not among field as implemented in this PR.

@rjbou rjbou added this to the 2.2.0~beta2 milestone Feb 15, 2024
@kit-ty-kate kit-ty-kate added this to For beta2 in Opam 2.2.0 Feb 15, 2024
@kit-ty-kate
Copy link
Member

what does this section of code do? Could you write a small description of the issue too?

@rjbou
Copy link
Collaborator Author

rjbou commented Feb 15, 2024

Comment updated!

@kit-ty-kate
Copy link
Member

Thanks

@kit-ty-kate kit-ty-kate merged commit 1507b23 into ocaml:master Feb 16, 2024
29 checks passed
Opam 2.2.0 automation moved this from For beta2 to Done Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Opam 2.2.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants