magit-todos
magit-todos copied to clipboard
TODOs from nested git repositories are shown
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.
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.