git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Change the grep command called by git with alternative tools, such as ug.

From
Matěj Cepl <mcepl@cepl.eu>
Date
Jan 2, 2025, 14:57 UTC
Message-ID
<D6ROC4RAYQS1.3V2K2W5GMAEYR@cepl.eu>
In-Reply-To
<CAGP6POKLdTpwsaGo-oyGAiYJMRzwXN06rv3+V7v5QbL6xtDROw@mail.gmail.com>
On Thu Jan 2, 2025 at 2:39 PM CET, Hongyi Zhao wrote:
> Do you mean: by linking ug as git-ug will do the trick?

No, you would have to rewrite git-grep to use external grep-like program. I am not sure whether there isn’t such project already out there.

Best,
Matěj
-- 
http://matej.ceplovi.cz/blog/, @mcepl@en.osm.town
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
To the well-organized mind, death is but the next great adventure.
  -- Albus Dumbledore
Previous: Hongyi ZhaoNext: Jonathan Nieder
Message 4 of 5 in “Change the grep command called by git with alternative tools, such as ug.”
  1. Hongyi ZhaoJan 2, 2025
  2. Matěj CeplJan 2, 2025
  3. Hongyi ZhaoJan 2, 2025
  4. Matěj CeplJan 2, 2025
  5. Jonathan NiederJan 2, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.