Skip to content

clippy --fix falsely detects dirty Git LFS files #8349

@alice-i-cecile

Description

@alice-i-cecile

Description

When using cargo clippy --fix on a fully committed repo that contains Git LFS files, the LFS files are not recognized as being committed.

This can be safely worked around using the --allow-dirty flag, but it's a minor nuisance.

Version

rustc 1.60.0-nightly (bfe156467 2022-01-22)
binary: rustc
commit-hash: bfe15646761a75f0259e204cab071565eed2b1e5
commit-date: 2022-01-22
host: x86_64-pc-windows-msvc
release: 1.60.0-nightly
LLVM version: 13.0.0

Additional Labels

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions