Skip to content

x.py fmt: logic for "which files changed" is broken when there are no changes #130147

Closed
@RalfJung

Description

@RalfJung

When I run ./x.py fmt in a clean checkout, I get the following:

fmt: formatted 5534 modified files

If I now change a single file manually, it says instead:

fmt: formatted modified file library/core/src/ptr/mod.rs

Cc @rust-lang/bootstrap

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions