-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
.rgignore glob? #50
Comments
The benefit of allowing
|
Hmm, I can't reproduce:
A few questions:
Thanks! |
Sorry, actually the ignore pattern was something like
|
OK, I think this is a dupe of #25. I'll be sure to include your case in a regression test when I fix it. |
Actually, this is a dupe of #16. Fix incoming. |
I confirm the fix. Thanks! |
We were erroneously neglecting to prefix a pattern like `foo/` with `**/` (to make `**/foo/`) because it had a slash in it. In fact, the only reason to neglect a **/ prefix is if the pattern already starts with **/, or if the pattern is absolute. Fixes BurntSushi#16, BurntSushi#49, BurntSushi#50, BurntSushi#65
I am trying to figure out how to ignore a particular dir name (that dir name could occur multiple times in the search path) using
.rgignore
.Let's say I have the
.rgignore
as/proj/SOMEPRJ/.rgignore
, and I have these directories/proj/SOMEPRJ/abc/def/XYZ/
/proj/SOMEPRJ/ghi//XYZ/
What do I put in
/proj/SOMEPRJ/.rgignore
to ignore both theXYZ/
dirs?For
ag
, I can simply putXYZ
in the.agignore
and be done with it. But the same does not work here.*XYZ
also does not work.For now I need to put in the full paths to
XYZ/
(both) in the.rgignore
.What is the right way?
The text was updated successfully, but these errors were encountered: