threads / discuss / 65098

whatchanged

Subject: whatchanged

## tl;dr

2 messages between Feb 28, 2026 and Feb 28, 2026.

replies: 1people: 2as markdown or json

Kristoffer Haugsbakk· Feb 28, 2026, 21:30 UTC · re: Martin Stensgård · lore

Re: whatchanged

On Sat, Feb 28, 2026, at 21:22, Martin Stensgård wrote:
> git version 2.51.0 told me to let you know that I still use the
> whatchanged command.
>
> Please keep it. Thanks :)

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.

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 set up an alias with that name on Git 2.52:
    git config set --global alias.whatchanged 'log --raw --no-merges'

You cannot do that on Git 2.51.0 since you cannot alias builtin commands. But you can alias deprecated builtin commands on Git 2.52.

← back to recent threads