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

TODOs from nested git repositories are shown #128

Open
whudwl opened this issue Apr 24, 2022 · 1 comment
Open

TODOs from nested git repositories are shown #128

whudwl opened this issue Apr 24, 2022 · 1 comment
Labels
discussion help wanted Extra attention is needed invalid This doesn't seem right WAITING Waiting for response from someone

Comments

@whudwl
Copy link

whudwl commented Apr 24, 2022

Not sure if this is intended behaviour or a bug.
But my .emacs.d is a git repository, and there are a lot of repositories in .emacs.d/straight/repos created by straight.el
When I call magit on the .emacs.d folder, magit-todos shows thousands of TODOs from the repos in .emacs.d/straight/repos
However, I have realised that switching to git-grep scanner fixes the above issue.
Just wanted to bring this to your attention.

@alphapapa
Copy link
Owner

AFAIK this is a configuration issue. ripgrep should respect .gitignore files, so you'd probably want to add that path so it will be ignored. You can also add the path to magit-todos-exclude-globs in a .dir-locals file in your Emacs directory.

@alphapapa alphapapa added help wanted Extra attention is needed invalid This doesn't seem right WAITING Waiting for response from someone discussion labels Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion help wanted Extra attention is needed invalid This doesn't seem right WAITING Waiting for response from someone
Projects
None yet
Development

No branches or pull requests

2 participants