[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#54177: 28.0.91; project-find-regexp misbehaves with ripgrep over tra
From: |
Eli Zaretskii |
Subject: |
bug#54177: 28.0.91; project-find-regexp misbehaves with ripgrep over tramp/sudo |
Date: |
Sun, 27 Feb 2022 09:31:44 +0200 |
> Date: Sun, 27 Feb 2022 04:45:14 +0200
> From: Dmitry Gutov <dgutov@yandex.ru>
>
> --- a/lisp/progmodes/xref.el
> +++ b/lisp/progmodes/xref.el
> @@ -1626,7 +1626,7 @@ xref-search-program-alist
> (ripgrep
> .
> ;; '!*/' is there to filter out dirs (e.g. submodules).
> - "xargs -0 rg <C> --null -nH --no-messages -g '!*/' -e <R>"
> + "xargs -0 rg <C> --null -nH --no-heading --no-messages -g '!*/' -e
> <R>"
> ))
> "Associative list mapping program identifiers to command templates.
>
> Is this okay for Emacs 28?
Is this additional switch supported by all versions of 'rg'?