# git whatchanged -- yes, I still use this

2 messages from 2025-10-05 to 2025-10-05. Participants: Jeffery Carr, Kristoffer Haugsbakk.
Thread: https://gitlist.dev/t/64249

## Jeffery Carr, 2025-10-05 02:14

Subject: git whatchanged -- yes, I still use this
Message-ID: <CA+Hr9go-jyDeau8HVi+fUuiTTgAS_SNgyGL9x660+GzGJZJBEQ@mail.gmail.com>
URL: https://gitlist.dev/e/CA%2BHr9go-jyDeau8HVi%2BfUuiTTgAS_SNgyGL9x660%2BGzGJZJBEQ%40mail.gmail.com

```
If you are going to remove it, "alias" it to something.

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

Can I ask what the problem is with it? The code is a mess I'm guessing.

I'd also suggest, instead of the message:

'git whatchanged' is nominated for removal.
If you still use this command, please add an extra
option, '--i-still-use-this', on the command line
and let us know you still use it by sending an e-mail
to <git@vger.kernel.org>.  Thanks.
fatal: refusing to run without --i-still-use-this


add to the message:

<run this instead>

love & respect,
jcarr

```

## Kristoffer Haugsbakk, 2025-10-05 10:31

Subject: Re: git whatchanged -- yes, I still use this
Message-ID: <b3a8dd87-fdab-41cc-b221-b62aa7f74387@app.fastmail.com>
URL: https://gitlist.dev/e/b3a8dd87-fdab-41cc-b221-b62aa7f74387%40app.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).

> I'd also suggest, instead of the message:
>
>[snip]
> add to the message:
>
> <run this instead>

This is coming in the next versions.

```
