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

Re: how to make "git log" to grep diff

From
Wwuzhouhui <wuzhouhui14@mails.ucas.ac.cn>
Date
Jun 30, 2020, 01:32 UTC
Message-ID
<e052a0dc-26b0-391d-a29d-e9ab6f55d7f7@mails.ucas.ac.cn>
In-Reply-To
<b15193cd-339a-1097-df9f-a3b587db3be3@mails.ucas.ac.cn>
On 6/30/20 9:27 AM, wuzhouhui wrote:
Show 6 quoted lines
> Hi
>
> The option --grep of git log is to grep commit log message, but I want to
>
> grep diff, is any option support it?
>
I have found option -G can do this, never mind.
> Thanks
>
Previous: wuzhouhui
Message 2 of 2 in “how to make "git log" to grep diff”
  1. wuzhouhuiJun 30, 2020
  2. wuzhouhuiJun 30, 2020

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.