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
Hmm, sounds like an upstream bug I'm afraid. Ag.el doesn't look at .gitignore, it's built-in functionality to ag itself. Could you open a ticket here?
That said, I'm not surprised. Ag's .gitignore parsing isn't perfect (related: #15) and it sometimes misses subtleties like this. I can't see any obvious workarounds, although if you're trying to ignore files with a different extension, ag-files might be useful.
.gitignore has absolute path syntax, for specific, repository-root -relative ignores:
/foo/bar
which ignores exactly
$(REPOROOT)/foo/bar
, as opposed tofoo/bar
which would ignore any
bar
contained immediately within anyfoo
.Ag, however, treats thes repo-relative absolutes as absolute absolutes.
The text was updated successfully, but these errors were encountered: