Closed swolchok closed 6 years ago
While we're at it, we might as well support --iglob
too.
I can take a shot at this. Reading some of the ripgrep documentation I see that globs take precedence over other matching logic. So if the user opts for glob
or iglob
, it would be used instead of extensions. Do you want to copy this behavior for fastmod?
Sounds great to me! It would probably be best to state that each of glob
and iglob
conflicts_with extensions
.
The solution to this is probably to support
-g
/--glob
likeripgrep
, since we use theignore
crate to implement--extensions
anyway and we could just implement-g
with passthrough toignore
.