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

[BUG] Not ignoring .gitignore rules #1640

Closed
1 task done
Myouboku opened this issue Nov 26, 2024 · 2 comments
Closed
1 task done

[BUG] Not ignoring .gitignore rules #1640

Myouboku opened this issue Nov 26, 2024 · 2 comments
Labels

Comments

@Myouboku
Copy link

Checks

  • I have read the troubleshooting section and still think this is a bug.

Describe the bug you encountered:

When using fd without arguments, or fd --ignore, ignored files are not filtered. As you can see in this screenshot, node_modules are shown.
fd

Describe what you expected to happen:

node_modules to not appear in the results

What version of fd are you using?

fd 10.2.0

Which operating system / distribution are you on?

Linux 6.12.1-arch1-1 x86_64

LSB Version:    n/a
Distributor ID: Arch
Description:    Arch Linux
Release:        rolling
Codename:       n/a
@Myouboku Myouboku added the bug label Nov 26, 2024
@Myouboku
Copy link
Author

Myouboku commented Nov 26, 2024

I want to add something : if I create a .vscode directory with 5 files in it, the output of fd -H show the directory but not its content, as expected. The bug seems to only affect the node_modules directory due to the syntax

@Myouboku
Copy link
Author

not an issue, found out the directory need to be a git directory to apply the .gitignore

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

No branches or pull requests

1 participant