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

[Request] Ignore Hidden dirs by default when scanning #5

Open
tristanpoland opened this issue Oct 21, 2024 · 1 comment
Open

[Request] Ignore Hidden dirs by default when scanning #5

tristanpoland opened this issue Oct 21, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@tristanpoland
Copy link

Is your feature request related to a problem? Please describe.
A strange thing I encountered is scanning my home dir does not ignore hidden paths, because of the fact that I use bottles I get a lot of junk repos in the tracker such as: /home/trident/.var/app/com.usebottles.bottles/data/bottles/bottles/Epic-Games/dosdevices/z

Describe the solution you'd like
It would be nice to have a flag on the scan command to specify that I want to scan hidden folders, and to ignore them by default.
Perhaps something like: git conform scan ~ --all
or: git conform scan ~ --allow-hidden

Additional context
image

@tristanpoland tristanpoland added the enhancement New feature or request label Oct 21, 2024
@ndr3www
Copy link
Owner

ndr3www commented Oct 24, 2024

The scan command already has an option for ignoring hidden directories entirely. All you have to do is run git conform scan with the --no-hidden flag, although I'll take your suggestions into consideration cause I was thinking the same during development and it actually might be better to ignore hidden directories by default. Probably will change that in a future release.

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

No branches or pull requests

2 participants