-
Notifications
You must be signed in to change notification settings - Fork 84
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
fix: 539 ensure correctly skipping files based on nested .gitignore files #567
fix: 539 ensure correctly skipping files based on nested .gitignore files #567
Conversation
…sure the `ignore::Walk` is correctly skipping files based on nested .gitignore files see getgrit#539
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
17 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
@morgante - I can't seem to replicate what you are seeing in #539 ? Do you have an example command that fails? These commands (now in a test) work as I would expect them to? Correct files are ignored.
I think that the I added a test that I think captures the desired behaviour: gritql/crates/cli_bin/tests/apply.rs Lines 2925 to 2928 in a7d5bd3
gritql/crates/cli_bin/tests/apply.rs Lines 2930 to 2938 in a7d5bd3
gritql/crates/cli_bin/tests/apply.rs Lines 2959 to 2967 in a7d5bd3
|
|
Thanks for investigating, it looks like I'm unable to reproduce this too. Sorry for the mixup! |
/claim #539
fixes #539
see https://docs.rs/ignore/latest/ignore/struct.WalkBuilder.html#ignore-rules
Greptile Summary
This is an auto-generated summary
Hi! Looks like you've reached your API usage limit. You can increase it from your account settings page here: app.greptile.com/settings/usage