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

Only ignore .git/info/exclude #1612

Open
AckslD opened this issue Sep 6, 2024 · 2 comments
Open

Only ignore .git/info/exclude #1612

AckslD opened this issue Sep 6, 2024 · 2 comments

Comments

@AckslD
Copy link

AckslD commented Sep 6, 2024

It would be great if there could be a flag such as --no-ignore-vcs-exclude, which would be similar to --no-ignore-vcs except it would still take .gitignore into account but only not .git/info/exclude. Maybe this seems like a too specific feature but the reason why I think this would make sense is that I would often use .git/info/exclude for files that I actually do want to see and use locally, but only for myself and not commit them to the repo. It's different from .gitignore which most likely no one wants to see (therefore including me), and is the reason that this is actually checked into a repo.

Would this make sense? If this feature sounds okay and no one is able to work on it atm I could also take a stab but first wanted to check if it sounds reasonable?

@VRehnberg
Copy link

Would this be an alias to fd --no-ignore-vsc --ignore-file .gitignore or something more?

@AckslD
Copy link
Author

AckslD commented Nov 22, 2024

Hi @VRehnberg, thanks for pointing out this possibility. The additional functionality I would be interested in is to support .gitignore files anywhere. Ie not only in the cwd, but also in subfolders, at ~/.gitignore etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants