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

Re: git whatchanged -- yes, I still use this

From
KHKristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
Date
Oct 5, 2025, 10:31 UTC
Message-ID
<b3a8dd87-fdab-41cc-b221-b62aa7f74387@app.fastmail.com>
In-Reply-To
<CA+Hr9go-jyDeau8HVi+fUuiTTgAS_SNgyGL9x660+GzGJZJBEQ@mail.gmail.com>
On Sun, Oct 5, 2025, at 04:14, Jeffery Carr wrote:
> If you are going to remove it, "alias" it to something.

Git doesn’t have built-in aliases, if you mean Git aliases more literally. If not then it already acts as a sort of alias, I guess.

> alternatively, I guess I'll make "git-whatchanged" binary to do it.

This command is being removed because git-log(1) supplanted it over 12 years ago. Both commands use the same machinery, just with different defaults.

Here’s how to replace it with git-log(1):

• 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 (not feeding the output to another program).

Show 6 quoted lines
> I'd also suggest, instead of the message:
>
>[snip]
> add to the message:
>
> <run this instead>
This is coming in the next versions.
Previous: Jeffery Carr
Message 2 of 2 in “git whatchanged -- yes, I still use this”
  1. Jeffery CarrOct 5, 2025
  2. Kristoffer HaugsbakkOct 5, 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.