Skip to content

Suggestion: "strict" mode for paths/ignore_paths options #352

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

Open
risicle opened this issue Feb 24, 2021 · 0 comments
Open

Suggestion: "strict" mode for paths/ignore_paths options #352

risicle opened this issue Feb 24, 2021 · 0 comments

Comments

@risicle
Copy link

risicle commented Feb 24, 2021

Problem: it's easy to make mistakes when limiting the scope of a git resource with the paths and ignore_paths options, inadvertently making use of files which aren't included by these lists. This can make life get very weird - especially so if you're using multiple git resources pointing at the same repo with different paths settings.

Partial solution: a "strict" mode which would actively strip the working tree of any files not included by these filters, so that attempted use of any of these files will fail.

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

1 participant