Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

projectile-helm-ag doesn't respect .gitignore file #21

Open
mydearxym opened this issue May 11, 2016 · 5 comments
Open

projectile-helm-ag doesn't respect .gitignore file #21

mydearxym opened this issue May 11, 2016 · 5 comments

Comments

@mydearxym
Copy link

In a git project, projectile-helm-ag searches files and directories in .gitignore.

see bbatsov/projectile#709

@Cbeck527
Copy link

Any updates on this issue?

@amithgeorge
Copy link

I came across this bug. In my case, it only respects the top most .gitignore. If I have a .gitignore inside some directory with additional rules, then those files are not excluded from the search.

/root
 - .git
 - .gitignore //// these rules are respected
 - /some-dir
    - .gitignore //// the rules here are not respected

For the time being I copied the rules over from the inner gitignore to the outer one.

@xiongtx
Copy link
Collaborator

xiongtx commented Feb 3, 2017

To ignore files, you can use the .projectile file at the project root.

I'll look into a more complete solution, but there's no ETA.

@Cbeck527
Copy link

Cbeck527 commented Feb 4, 2017

What indexing method do you use? I think that I saw this bug go away after adding this to my init file:

(setq projectile-indexing-method 'git)

Though this could be a red herring... it's still unclear to me.

@rileyrg
Copy link

rileyrg commented Jan 28, 2020

I want helm-projectile-ag to search in .gitignored directories. How do I do this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants