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

Re: I still use git whatchanged

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 29, 2025, 14:16 UTC
Message-ID
<xmqq8qhx5oor.fsf@gitster.g>
In-Reply-To
<971c5431-f203-41b6-a629-e06480afbf1e@app.fastmail.com>
"Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com> writes:
Show 13 quoted lines
> On Mon, Sep 29, 2025, at 10:42, Henrik Bennin wrote:
>> May I ask not to remove git whatchanged because I still use it regularly?
>
> What the error message you got doesn’t say is that you can use
> git-log(1) instead.  It supports everything that git-whatchanged(1)
> supports.
>
> • Given: `git whatchanged <opts>`
> • Replace with: `git log <opts> --no-merges --raw`
>
> Additionally for the sake of readability, you might have more use for
> `--stat` or `--name-only` rather than `--raw` if you are only reading
> the output.

We probably should merge kh/you-still-use-whatchanged-fix to produce Git 2.51.1 sooner.

Thanks.
Previous: Kristoffer Haugsbakk
Message 3 of 3 in “I still use git whatchanged”
  1. Henrik BenninSep 29, 2025
  2. Kristoffer HaugsbakkSep 29, 2025
  3. Junio C HamanoSep 29, 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.