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

init: on windows, fix handling of 'git-location' when defined in init config #5848

Merged
merged 1 commit into from Feb 19, 2024

Conversation

rjbou
Copy link
Collaborator

@rjbou rjbou commented Feb 16, 2024

fixes #5845

If --git-location is given and git-location is defined, priority goes to the one defined via CLI. Same with --no-git-location, it overrides git-location definition in config file.

@rjbou rjbou added this to the 2.2.0~beta2 milestone Feb 16, 2024
Comment on lines 756 to 757
"As '--no-git-location' is given in argument, ignoring field \
'git-location' in init config file";
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs proof reading for clarity, understanding.

Comment on lines 762 to 763
"Git location defined in init config file (opamrc, %s) and via CLI \
('--git-location' option, %s). Keeping last one."
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs proof reading for clarity, understaanding.

@kit-ty-kate kit-ty-kate added this to For beta2 in Opam 2.2.0 Feb 19, 2024
… config file (opamrc given via commandline, or present on users defaults)
@kit-ty-kate
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

Windows: git-location in init config file is unused
2 participants