From: Hongyi Zhao Date: Thu, 02 Jan 2025 13:39:13 GMT Subject: Re: Change the grep command called by git with alternative tools, such as ug. Message-ID: In-Reply-To: On Thu, Jan 2, 2025 at 9:00 PM Matěj Cepl wrote: > > 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 Zhao