cp-ag, cp-rg: don't respect VCS ignore files
Projectile already parses these files to find project ignored files and directories. Asking ag or rg to parse them prevents project unignored files and directories to be searched.
This commit is contained in:
parent
acc0290de7
commit
ffc342bb7c
1 changed files with 2 additions and 2 deletions
|
|
@ -735,7 +735,7 @@ is called with a prefix argument."
|
|||
(read-string (projectile-prepend-project-name "ag options: ")
|
||||
ignored
|
||||
'counsel-projectile-ag-options-history)
|
||||
(concat ignored options))))
|
||||
(concat "--skip-vcs-ignores " ignored options))))
|
||||
(counsel-ag (eval counsel-projectile-ag-initial-input)
|
||||
(projectile-project-root)
|
||||
options
|
||||
|
|
@ -781,7 +781,7 @@ is called with a prefix argument."
|
|||
(read-string (projectile-prepend-project-name "rg options: ")
|
||||
ignored
|
||||
'counsel-projectile-rg-options-history)
|
||||
(concat ignored options))))
|
||||
(concat "--no-ignore-vcs " ignored options))))
|
||||
(counsel-rg (eval counsel-projectile-rg-initial-input)
|
||||
(projectile-project-root)
|
||||
options
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue