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
Running projectile-ag honors projectile-globally-ignored-directories and projectile-globally-ignored-files, so that affected files and directories don't turn up in the resulting ag query.
Actual behavior
ag is run without any --ignore parameters set and ignored files and directories turn up.
Looking at the code, it's obvious that while ag-ignore-list is being bound in projectile-ag, it's not passed down to (funcall ag-command search-term (projectile-project-root))).
Steps to reproduce the problem
mkdir foo; cd foo; git init; mkdir node_modules; echo bar > node_modules/baz
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!
Expected behavior
Running
projectile-ag
honorsprojectile-globally-ignored-directories
andprojectile-globally-ignored-files
, so that affected files and directories don't turn up in the resultingag
query.Actual behavior
ag
is run without any--ignore
parameters set and ignored files and directories turn up.Looking at the code, it's obvious that while
ag-ignore-list
is being bound inprojectile-ag
, it's not passed down to(funcall ag-command search-term (projectile-project-root)))
.Steps to reproduce the problem
mkdir foo; cd foo; git init; mkdir node_modules; echo bar > node_modules/baz
(add-to-list 'projectile-globally-ignored-directories "node_modules")
M-x projectile-ag RET bar RET
Environment & Version information
Projectile version information
Projectile 2.0.0
Emacs version
GNU Emacs 26.3 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.13) of 2019-12-10
Operating system
Fedora 31 Silverblue x86_64
The text was updated successfully, but these errors were encountered: