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

Doesn't recognize globstar pattern ** in .gitignore #747

Closed
tungel opened this issue Sep 11, 2015 · 2 comments
Closed

Doesn't recognize globstar pattern ** in .gitignore #747

tungel opened this issue Sep 11, 2015 · 2 comments

Comments

@tungel
Copy link

tungel commented Sep 11, 2015

In .gitignore, I have:

/v1/**/*.csv

But when I run ag -i --hidden 'id,test', I still see results like:

v1/test/1023/csvs/000/000/975/original/api.csv
1:id,test

v1/test/1062/csvs/000/001/014/original/api.csv
1:id,test

v1/test/1087/csvs/000/001/039/original/api.csv
1:id,test
...
...
@eksperimental
Copy link
Contributor

if you use bash, try setting shopt -s globstar

@ggreer
Copy link
Owner

ggreer commented Sep 13, 2015

This is a duplicate of #530.

@ggreer ggreer closed this as completed Sep 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants