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

Incorrect warnings about generated files #285

Open
spacey-sooty opened this issue Aug 27, 2024 · 2 comments
Open

Incorrect warnings about generated files #285

spacey-sooty opened this issue Aug 27, 2024 · 2 comments

Comments

@spacey-sooty
Copy link

When running wpiformat on allwpilib using git worktrees I get spammed errors about all generated files being modified, even when they aren't modified.

@calcmogul
Copy link
Member

calcmogul commented Aug 27, 2024

They're warnings, not errors. I assume it's complaining about the worktree only having a subset of the files, and generated file deletions look like changes.

Is there a way to determine if a directory is a linked worktree, and if so, is there a worktree-specific command that can be used to check for file changes instead?

@spacey-sooty
Copy link
Author

Im not sure what command is being used currently? I think most git diff things should work its just instead of being in the repo root youd need to be in the current worktree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants