alphapapa / alphapapa/magit-todos

rg scanner doesn't work on Windows

Đang mở
#156 5 bình luận 0 reaction 1 người được giao Được @alphapapa nhận Xem trên GitHub
bug help wanted
Ngôn ngữ chính
Emacs Lisp
Star
792
Fork
54
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

The recent changes which introduced `directory-form` in the rg scanner broke magit-todos on Windows.

With the default settings `magit-todos-list` starts an rg command, which looks like does it's job but the process keeps running and TODOs aren't inserted in the buffer. With a custom scanner that leaves `:directory-form` empty but otherwise is identical to the default one, everthing works (and results have a leading `./`).

As far as I can tell, the default scanner runs `rg ./`, while a scanner with empty `:directory-form` runs `rg ` (without the path at the end). In a shell both commands work, and their output differs in the leading `./`.

On macOS with the same config works without any issues. All testing done with Emacs 29.1 and latest MELPA packages.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.