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

Error in empty repos #176

Open
DivineDominion opened this issue Apr 19, 2024 · 1 comment
Open

Error in empty repos #176

DivineDominion opened this issue Apr 19, 2024 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Milestone

Comments

@DivineDominion
Copy link

It's obvious that magit-todo's can't to anything in an empty repo :) Since we get error in process sentinel this sounds like an unhandled case so far, though.

I just created a new repo via magit-init:

error in process sentinel: Wrong type argument: (or eieio-object cl-structure-object oclosure), nil [2 times]
error in process sentinel: magit-todos--async-when-done: magit-todos--async-when-done: Process "magit-todos--scan-with-rg" failed with exit code 2.  Output:"rg: No files were searched, which means ripgrep probably applied a filter you didn't expect.
Running with --debug will show why files are being skipped.
"
@alphapapa
Copy link
Owner

Yes, this is a duplicate of #167. Since a git repo isn't likely to stay empty, handling this case isn't important to me. But patches are welcome.

@alphapapa alphapapa changed the title magit-todos fails for empty, freshly initialized git repo Error in empty repos Apr 19, 2024
@alphapapa alphapapa added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers labels Apr 19, 2024
@alphapapa alphapapa added this to the Future milestone Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants