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
Lines starting with a "/" in .gitignore files should be interpreted as being relative the the .gitignore file path, but they are interpreted as beeing relative to cwd for ag.
How to reproduce:
cd /tmp
rm -fr test
mkdir testcdtest
mkdir -p subdir/dir1
echo'aaa'> subdir/dir1/f
cat > .gitignore << 'EOF'/dir1EOF# Not working -> dir1 should be ignored
ag aaa .cd subdir
# Working as cwd is the location of the .gitignore file -> dir1 is ignored
ag aaa .
The text was updated successfully, but these errors were encountered:
Lines starting with a "/" in .gitignore files should be interpreted as being relative the the .gitignore file path, but they are interpreted as beeing relative to cwd for ag.
How to reproduce:
The text was updated successfully, but these errors were encountered: