-
-
Notifications
You must be signed in to change notification settings - Fork 816
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
Include .git/
folder in the "gitignored" filtering
#1387
Comments
Hi, I'd like to work on this if it's still up :) |
Awesome! Take your shot :) .
Line 75 in 93cdb26
You might want to check if |
Oh, be aware that this wasn't officially approved by maintainers, so there is some chance they'll close your PR, in case they are opposed to this change, I imagine they're not, but it's good to gather confirmation before. (btw, I'm not a maintainer xD just an user.) If you want to be 100% safe that you won't waste your time, you should probably wait for official approval. @tmccombs made a favorable comment at #1317 (comment), I don't know if that counts. |
I am in favor of this change. |
Why is there no option to opt out of this?
now if I add --no-ignore-vcs i get all folders inside my ignores (not just the .git folder) |
If you use '.git$', does that help? I have something similar in a "git all" alias. Depending on how your repos are organized you might also use --max-depth to avoid unnecessary scanning of sub-directories. (I use --max-depth=2). |
I mostly use
fd
in repositories, and I love having the ability of gitignoring pollution from build folders.However, I keep getting tons of stuff from
.git/
.I consider
.git/
to be "gitignored by default", but that might just be my POV, any thoughts on this?I imagine the odds of someone intentionally looking for stuff in the
.git/
directory should be low, but in that case, they can resort to-I/--no-ignore
(or--no-ignore-vcs
).The text was updated successfully, but these errors were encountered: