You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interesting debug output, here's what I'm seeing.
I have these two rules:
www/yarn-error.log
www/src/**/*.map
In the debug output, I see these lines:
DEBUG: pattern www/yarn-error.log doesn't match path www/src/pages/ViewPage.js.map
DEBUG: pattern www/src/**/*.map doesn't match file ViewPage.js.map
For the first pattern it is including the path part of the file, but for some reason the second one it is only reporting the filename, not including the path.
However, it should match with the path, and thus be excluded (but it is not).
Looking at ignore.c line 276, it only passes in the filename, not the full path+filename, to the regex matcher.
There looks to be a few other places where that is happening -- I'm guessing the ignore code does not work well with paths.
ag still looks inside files that are ignored in .gitignore with a rule like so:
The text was updated successfully, but these errors were encountered: