threads / discuss / 64223

I still use git whatchanged

Subject: I still use git whatchanged

## tl;dr

3 messages between Sep 29, 2025 and Sep 29, 2025.

replies: 2people: 3as markdown or json

Kristoffer Haugsbakk· Sep 29, 2025, 08:58 UTC · re: Henrik Bennin · lore

Re: I still use git whatchanged

On Mon, Sep 29, 2025, at 10:42, Henrik Bennin wrote:
> May I ask not to remove git whatchanged because I still use it regularly?

What the error message you got doesn’t say is that you can use git-log(1) instead. It supports everything that git-whatchanged(1) supports.

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

Junio C Hamano· Sep 29, 2025, 14:16 UTC · re: Kristoffer Haugsbakk · lore

Re: I still use git whatchanged

"Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com> writes:
Show 13 quoted lines
> On Mon, Sep 29, 2025, at 10:42, Henrik Bennin wrote:
>> May I ask not to remove git whatchanged because I still use it regularly?
>
> What the error message you got doesn’t say is that you can use
> git-log(1) instead.  It supports everything that git-whatchanged(1)
> supports.
>
> • 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.

We probably should merge kh/you-still-use-whatchanged-fix to produce Git 2.51.1 sooner.

Thanks.

← back to recent threads