Re: Change the grep command called by git with alternative tools, such as ug.
On Thu, Jan 2, 2025 at 9:00 PM Matěj Cepl <mcepl@cepl.eu> wrote:
Show 11 quoted lines
>
> On Thu Jan 2, 2025 at 12:49 PM CET, Hongyi Zhao wrote:
> > $ git grep -i jobflow
> >
> > I tried to replace grep with ug, but failed as follows:
>
> AFAIK, git grep doesn’t use external grep(1) binary on its
> own, but rather it uses its own (and slightly different)
> algorithm. Certainly, calling git-ug (or git-rg) will do
> absolutely nothing as long as you have no git-ug binary in your
> $PATH.
Do you mean: by linking ug as git-ug will do the trick?
> Best,
>
> Matěj