about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorJoshua Nelson <github@jyn.dev>2023-03-05 08:16:32 -0600
committerJoshua Nelson <github@jyn.dev>2023-03-05 08:22:55 -0600
commit620efed932766b4cd516a26205fe47f51f54f911 (patch)
treea1f3501fc3b4ec529351fa63cf82ecf65aaa747d /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent14c54b637b18f74680d0c0441216714b5e9c150d (diff)
downloadrust-620efed932766b4cd516a26205fe47f51f54f911.tar.gz
rust-620efed932766b4cd516a26205fe47f51f54f911.zip
x fmt: Only check modified files locally
Previously, `x fmt` would only format modified files, while `x fmt .`
and `x fmt --check` would still look at all files. After this change, `x
fmt --check` only looks at modified files locally.

I feel pretty confident in this change - other than
https://github.com/rust-lang/rust/issues/106261, no one has reported
bugs in `get_modified_rs_files` since it was added in
https://github.com/rust-lang/rust/pull/105702.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions