alphapapa / alphapapa/magit-todos

rg scanner doesn't work on Windows

Ouverte
#156 5 commentaires 0 réactions 1 personne assignée Réclamée par @alphapapa Voir sur GitHub
bug help wanted
Langage dominant
Emacs Lisp
Étoiles
791
Forks
54
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.