# whatchanged

2 messages from 2026-02-28 to 2026-02-28. Participants: Martin Stensgård, Kristoffer Haugsbakk.
Thread: https://gitlist.dev/t/65098

## Martin Stensgård, 2026-02-28 20:22

Subject: whatchanged
Message-ID: <de1a96a4-c38e-4200-90a6-2b87139cdb47@app.fastmail.com>
URL: https://gitlist.dev/e/de1a96a4-c38e-4200-90a6-2b87139cdb47%40app.fastmail.com

```
git version 2.51.0 told me to let you know that I still use the whatchanged command.

Please keep it. Thanks :)

-- 
Martin Stensgård

```

## Kristoffer Haugsbakk, 2026-02-28 21:30

Subject: Re: whatchanged
Message-ID: <af273fb9-25ae-48e4-ae06-81424383f54d@app.fastmail.com>
URL: https://gitlist.dev/e/af273fb9-25ae-48e4-ae06-81424383f54d%40app.fastmail.com
In-Reply-To: <de1a96a4-c38e-4200-90a6-2b87139cdb47@app.fastmail.com>

```
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.

```
