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
I'm seeing some behaviour re. .ignore that doesn't match what I expected.
Here is a repro:
mkdir -p /tmp/rgtest/a/b/c
cd /tmp/rgtest
echo hello >included.txt
echo hello >a/b/c/excluded.txt
echo"a/b/c">.ignore
rg hello # prints only included.txt (expected)
rg hello a # prints only excluded.txt (unexpected)
rg hello a/b # prints nothing (expected)
Can you help me understand this behaviour? I expected rg hello a to print nothing.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, thanks for the great tool.
I'm seeing some behaviour re.
.ignore
that doesn't match what I expected.Here is a repro:
Can you help me understand this behaviour? I expected
rg hello a
to print nothing.Beta Was this translation helpful? Give feedback.
All reactions