Error when repository contains a single file whose name starts with a dot
invalid
On macOS, create a new git repository and add a single file whose name starts with a dot, e.g., `.dotname`. Now when I press `C-x g` I get the following error:
```
Debugger entered--Lisp error: (error "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.\nRunning with --debug will show why files are being skipped.\n\"")
error("magit-todos--async-when-done: Process %S failed with exit code %d. Output:%S" "magit-todos--scan-with-rg" 2 "rg: No files were searched, which means ripgrep probably applied a filter you didn't expect.\nRunning with --debug will show why files are being skipped.\n")
magit-todos--async-when-done(#<process magit-todos--scan-with-rg> "exited abnormally with code 2\n")
```
关闭于 2025-02-04 9 条评论