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

Use fix-whitespace.yaml as filter when file arguments are given #30

Open
andreasabel opened this issue Oct 29, 2021 · 0 comments
Open
Labels
enhancement New feature or request PR welcome
Milestone

Comments

@andreasabel
Copy link
Member

Use case:

git ls-tree -r master --name-only | xargs fix-whitespace --config fix-whitespace.yaml 

or simply

git ls-tree -r master --name-only | xargs fix-whitespace

This should filter the FILES given to fix-whitespace through the configuration given in fix-whitespace.yaml.

A new flag, like --config - could be used if really all of the given FILES should be processed.

@andreasabel andreasabel added the enhancement New feature or request label Oct 29, 2021
@andreasabel andreasabel added this to the 0.1 milestone Oct 31, 2021
@andreasabel andreasabel modified the milestones: 0.1, 0.2 Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request PR welcome
Projects
None yet
Development

No branches or pull requests

1 participant