threads / discuss / 64729

I still use git whatchanged

Subject: I still use git whatchanged

## tl;dr

3 messages between Jan 5, 2026 and Jan 5, 2026.

replies: 2people: 2as markdown or json

Wayne Rowcliffe· Jan 5, 2026, 18:05 UTC · lore

I tried using git whatchanged, which I use probably daily, and it said I needed to send you an email that I use it.

It's very handy for figuring out what files changed in a commit.
-- Wayne Rowcliffe
Kristoffer Haugsbakk· Jan 5, 2026, 19:23 UTC · re: Wayne Rowcliffe · lore

Re: I still use git whatchanged

On Mon, Jan 5, 2026, at 19:05, Wayne Rowcliffe wrote:
> I tried using git whatchanged, which I use probably daily, and it said
> I needed to send you an email that I use it.
>
> It's very handy for figuring out what files changed in a commit.

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 feding the output to another program).

Wayne Rowcliffe· Jan 5, 2026, 19:26 UTC · re: Kristoffer Haugsbakk · lore

Re: I still use git whatchanged

`git log --raw` looks to do what I need. Thanks.

On Mon, Jan 5, 2026 at 1:23 PM Kristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com> wrote:

Show 19 quoted lines
>
> On Mon, Jan 5, 2026, at 19:05, Wayne Rowcliffe wrote:
> > I tried using git whatchanged, which I use probably daily, and it said
> > I needed to send you an email that I use it.
> >
> > It's very handy for figuring out what files changed in a commit.
>
> 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 feding the output to another program).

← back to recent threads