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

Re: git whatchanged --i-still-use-it

From
KHKristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
Date
Mar 3, 2026, 16:45 UTC
Message-ID
<9595d154-8586-4afd-ac1a-f5c133e10f9b@app.fastmail.com>
In-Reply-To
<bhYbjxeZY0QZt48g6XVTVfyPo6vbv9yeYLsw9PgFdVKgye6Ue0cAPy_RkNTwAOYEANhHyD6QbaxZrWaPS4__jlTcAVKOaEjrDgAxQYKdYvE=@protonmail.com>
Good evening
On Tue, Mar 3, 2026, at 17:01, Antoine Cousson wrote:
> I would like to say that I still use `git whatchanged` I like the way
> we see the modified files instead of just `git log`

This command is being removed because it was supplanted by git-log(1) a long while ago. Both commands use the same machinery, just with different defaults.

> And actually I never saw the message before today when I showed the
> command to a friend of mine, will it be removed soon ?

It is planned for removal in Git 3.0. There is no plan for when Git 3.0 will be released.

See: https://git-scm.com/docs/BreakingChanges
> Is there any alternatives that are straight to the point without any
> args or something?
You can replace it with `git log` in this way:

• 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).

You can also use `--patch` to see the full diffs.
>
> In any cases, thanks for your amazing work,
>[snip]
Previous: Antoine CoussonNext: Junio C Hamano
Message 2 of 6 in “git whatchanged --i-still-use-it”
  1. Antoine CoussonMar 3, 2026
  2. Kristoffer HaugsbakkMar 3, 2026
  3. Junio C HamanoMar 3, 2026
  4. Kristoffer HaugsbakkMar 3, 2026
  5. Antoine CoussonMar 3, 2026
  6. Antoine CoussonMar 3, 2026

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.