-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
x.py fmt
counts untracked files as formatted?
#114245
Comments
It detects X files modified, but the fact that they are not tracked means that their rustfmt invocation will be skipped. |
It's better to give different counts for skipped and formatted files? |
Maybe soemthing like "formatted x files, skipped y untracked files" would make more sense. |
The number rust/src/tools/build_helper/src/git.rs Line 93 in 3be07c1
you have 86 untracked path in this case. |
…ount, r=albertlarsan68 x.py print more detailed format files and untracked files count Fixes rust-lang#114245
…ount, r=albertlarsan68 x.py print more detailed format files and untracked files count Fixes rust-lang#114245
x.py fmt
The skipped files are files in the repo that are not tracked by git.
It looks like they might still get added to the "formatted modified file" counter?
I have no other changed files in the repo, so I wonder what rustfmt is saying to have formatted here 😅
The text was updated successfully, but these errors were encountered: