alphapapa / alphapapa/magit-todos

rg scanner doesn't work on Windows

オープン
#156 コメント 5 件 リアクション 0 件 担当者 1 名 @alphapapa が担当を希望しています GitHub で見る
bug help wanted
主要言語
Emacs Lisp
スター
791
フォーク
54
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。