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

CI: Fix exclude patterns with git ls-files #57505

Merged

Conversation

akien-mga
Copy link
Member

@akien-mga akien-mga commented Feb 1, 2022

Follow-up to #55785.

In black_format.sh, the --exclude switch was wrongly used. It's a misnomer
that only excludes untracked files
, arcane pathspec patterns should instead
be used to exclude tracked files.

Using this newfound knowledge, we can also simplify the other scripts.

CC @nathanfranke

@akien-mga akien-mga added this to the 4.0 milestone Feb 1, 2022
@akien-mga akien-mga requested a review from aaronfranke February 1, 2022 08:57
@akien-mga akien-mga requested a review from a team as a code owner February 1, 2022 08:57
Follow-up to godotengine#55785.

In `black_format.sh`, the `--exclude` switch was wrongly used. It's a misnomer
that only excludes _untracked_ files, arcane pathspec patterns should instead
be used to exclude _tracked_ files.

Using this newfound knowledge, we can also simplify the other scripts.
@akien-mga akien-mga force-pushed the ci-scripts-fix-exclude-pattern branch from 436288e to 56549a0 Compare February 1, 2022 08:59
@akien-mga akien-mga merged commit a1469bf into godotengine:master Feb 1, 2022
@akien-mga akien-mga deleted the ci-scripts-fix-exclude-pattern branch February 1, 2022 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant