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

recursive grep doesn't respect --color=always inside submodules

From
Orgad Shaneh <orgads@gmail.com>
Date
Jul 23, 2017, 06:02 UTC
Message-ID
<CAGHpTB+dSGza5Lwg76WXg+pPZ=dz3QdCTnDozWG_y+5_bPor6A@mail.gmail.com>
Hi,

When git grep --color=always is used, and the output is redirected to a file or a pipe, results inside submodules are not colored. Results in the supermodule are colored correctly.

- Orgad
Next: Jacob Keller
Message 1 of 3 in “recursive grep doesn't respect --color=always inside submodules”
  1. Orgad ShanehJul 23, 2017
  2. Jacob KellerJul 23, 2017
  3. Brandon WilliamsJul 24, 2017

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.