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

build: sort.py: add and require -i to edit in-place #6290

Merged
merged 1 commit into from
Mar 25, 2024

Commits on Mar 24, 2024

  1. build: sort.py: add and require -i to edit in-place

    Similarly to `sed -i` and `perl -i`.
    
    This allows checking if sort.py correctly sorts the relevant lines in a
    profile without having to overwrite it, which makes debugging and
    testing easier (for example, in netblue30#6261).
    
    Note: If it finds items that are not sorted, it still sorts them, prints
    the diff and returns an error.
    kmk3 committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    f7c0502 View commit details
    Browse the repository at this point in the history