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

RE: [PATCH] pretty: colorize pattern matches in commit messages

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Sep 1, 2021, 17:17 UTC
Message-ID
<612fb5b96b69a_35b832088a@natae.notmuch>
In-Reply-To
<20210901121616.2109658-1-someguy@effective-light.com>
Hamza Mahfooz wrote:
Show 10 quoted lines
> Currently, for example when
> 
>   git log --grep=pattern
> 
> is executed, the outputted commits that are matched by the pattern do not
> have the relevant substring matches highlighted.
> 
> Signed-off-by: Hamza Mahfooz <someguy@effective-light.com>
> ---
>  pretty.c | 109 +++++++++++++++++++++++++++++++++++++++++++++++++------
Can you add some tests?
-- 
Felipe Contreras
Previous: Hamza MahfoozNext: Junio C Hamano
Message 2 of 3 in “pretty: colorize pattern matches in commit messages”
  1. pretty: colorize pattern matches in commit messagesHamza Mahfooz, Sep 1, 2021
  2. Felipe ContrerasSep 1, 2021
  3. Junio C HamanoSep 1, 2021

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.