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

config doesn't error on duplicate --define values #15473

Merged
merged 1 commit into from
May 12, 2022
Merged

config doesn't error on duplicate --define values #15473

merged 1 commit into from
May 12, 2022

Commits on May 12, 2022

  1. config doesn't error on duplicate --define values

    When `--define` flags are interpreted by other commands, the last one
    wins. Currently `bazel config` causes a server crash when interpreting
    duplicate `--define` values.
    
    This change makes `config` consistent with the other commands, and
    re-uses the same deduplication code across all call-sites.
    
    Closes #14760.
    
    PiperOrigin-RevId: 427266039
    illicitonion authored and ckolli5 committed May 12, 2022
    Configuration menu
    Copy the full SHA
    c5f24f9 View commit details
    Browse the repository at this point in the history