# Still using "git whatchanged"

7 messages from 2025-09-02 to 2025-09-03. Participants: jorg@ml1.net, Junio C Hamano, Kristoffer Haugsbakk.
Thread: https://gitlist.dev/t/64067

## jorg@ml1.net, 2025-09-02 06:18

Subject: Still using "git whatchanged"
Message-ID: <74c5f07d-6376-4787-a5e2-bb09abc58ce1@app.fastmail.com>
URL: https://gitlist.dev/e/74c5f07d-6376-4787-a5e2-bb09abc58ce1%40app.fastmail.com

```
Hi,

apart from what's stated in the subject, I think it's not logical to use "--raw" when I want to see what has changed.

"git log" shows me the log. What's the raw part about wanting to see what's changed?

If "git whatchanged" will be abandoned, please at least let me type "git log --whatchanged" in the future.

Thanks.

Regards,
J 

```

## Junio C Hamano, 2025-09-02 16:29

Subject: Re: Still using "git whatchanged"
Message-ID: <xmqqcy88lsw3.fsf@gitster.g>
URL: https://gitlist.dev/e/xmqqcy88lsw3.fsf%40gitster.g
In-Reply-To: <74c5f07d-6376-4787-a5e2-bb09abc58ce1@app.fastmail.com>

```
jorg@ml1.net writes:

> apart from what's stated in the subject, I think it's not logical
> to use "--raw" when I want to see what has changed.
>
> "git log" shows me the log. What's the raw part about wanting to
> see what's changed?

But that is what "git whatchanged" gives, so when one is so attached to
what "git whatchanged" does, "--raw" is what we cite as "compatible"
option.

If you want to really see what hash changed, there are other and
better options, depending on what level of details you would want to
go into, ranging from --name-only to -p.  My personal preference is
"log --compact-summary" but I do not want to force my preference on
those who want to stick to the output from "whatchanged".

```

## jorg@ml1.net, 2025-09-02 16:38

Subject: Re: Still using "git whatchanged"
Message-ID: <6597b201-8087-462e-adc0-0ddaa8a7402e@app.fastmail.com>
URL: https://gitlist.dev/e/6597b201-8087-462e-adc0-0ddaa8a7402e%40app.fastmail.com
In-Reply-To: <xmqqcy88lsw3.fsf@gitster.g>

```
On Tue, Sep 2, 2025, at 19:29, Junio C Hamano wrote:
> jorg@ml1.net writes:
>
>> apart from what's stated in the subject, I think it's not logical
>> to use "--raw" when I want to see what has changed.
>>
>> "git log" shows me the log. What's the raw part about wanting to
>> see what's changed?
>
> But that is what "git whatchanged" gives, so when one is so attached to
> what "git whatchanged" does, "--raw" is what we cite as "compatible"
> option.

My point was merely that IMO "raw" is not the best name for that option. When I specify "--raw" on the command line, I usually expect the program to output similar data than without that option, but of a less refined state or kind.

In this case "--raw" means "do the same thing as without --raw (i.e. git log), but _in_addition_ tell me which files changed". That's why I think it's not the best name for that option.

I'm not sure if this is the right forum for this discussion, but if I were asked, I'd vote to rename "--raw" to "--whatchanged" and be... almost happy with removing "git whatchanged" (insert tear-smiley here).

```

## Junio C Hamano, 2025-09-02 20:33

Subject: Re: Still using "git whatchanged"
Message-ID: <xmqqa53cioh5.fsf@gitster.g>
URL: https://gitlist.dev/e/xmqqa53cioh5.fsf%40gitster.g
In-Reply-To: <6597b201-8087-462e-adc0-0ddaa8a7402e@app.fastmail.com>

```
jorg@ml1.net writes:

> On Tue, Sep 2, 2025, at 19:29, Junio C Hamano wrote:
>> jorg@ml1.net writes:
>>
>>> apart from what's stated in the subject, I think it's not logical
>>> to use "--raw" when I want to see what has changed.
>>>
>>> "git log" shows me the log. What's the raw part about wanting to
>>> see what's changed?
>>
>> But that is what "git whatchanged" gives, so when one is so attached to
>> what "git whatchanged" does, "--raw" is what we cite as "compatible"
>> option.
>
> My point was merely that IMO "raw" is not the best name for that
> option. When I specify "--raw" on the command line, I usually
> expect the program to output similar data than without that
> option, but of a less refined state or kind.

Sorry, but you are 20 years too late for *that* party.  Once you
invent a time machine and go back 20 years, you can advocate for
different name(s) that may fit your personal preferences better
there.

But not here and not now.

```

## jorg@ml1.net, 2025-09-03 06:11

Subject: Re: Still using "git whatchanged"
Message-ID: <decdbc61-6273-4173-8044-31658f33e207@app.fastmail.com>
URL: https://gitlist.dev/e/decdbc61-6273-4173-8044-31658f33e207%40app.fastmail.com
In-Reply-To: <xmqqa53cioh5.fsf@gitster.g>

```
On Tue, Sep 2, 2025, at 23:33, Junio C Hamano wrote:
> jorg@ml1.net writes:
>>
>> My point was merely that IMO "raw" is not the best name for that
>> option. When I specify "--raw" on the command line, I usually
>> expect the program to output similar data than without that
>> option, but of a less refined state or kind.
>
> Sorry, but you are 20 years too late for *that* party.  Once you
> invent a time machine and go back 20 years, you can advocate for
> different name(s) that may fit your personal preferences better
> there.
>
> But not here and not now.

See below:

>> I'm not sure if this is the right forum for this discussion, but if I were asked...

Given the circumstances, I vote for keeping "git whatchanged".

Regards,
J

```

## Kristoffer Haugsbakk, 2025-09-03 07:08

Subject: Re: Still using "git whatchanged"
Message-ID: <049579fb-6e42-4c3c-ba5c-71c5f843a66e@app.fastmail.com>
URL: https://gitlist.dev/e/049579fb-6e42-4c3c-ba5c-71c5f843a66e%40app.fastmail.com
In-Reply-To: <decdbc61-6273-4173-8044-31658f33e207@app.fastmail.com>

```
On Wed, Sep 3, 2025, at 08:11, jorg@ml1.net wrote:
> On Tue, Sep 2, 2025, at 23:33, Junio C Hamano wrote:
>>[snip]
>> But not here and not now.
>
> See below:
>
>>> I'm not sure if this is the right forum for this discussion, but if
>>> I were asked...
>
>
> Given the circumstances, I vote for keeping "git whatchanged".

You can see the discussion around the whatchanged deprecation as well as
other things in this document:

https://git-scm.com/docs/BreakingChanges.html

> Given the circumstances,

What circumstances?

-- 
Kristoffer Haugsbakk

```

## jorg@ml1.net, 2025-09-03 07:15

Subject: Re: Still using "git whatchanged"
Message-ID: <a80907d3-0dfd-4e68-818d-4092a2855848@app.fastmail.com>
URL: https://gitlist.dev/e/a80907d3-0dfd-4e68-818d-4092a2855848%40app.fastmail.com
In-Reply-To: <049579fb-6e42-4c3c-ba5c-71c5f843a66e@app.fastmail.com>

```
On Wed, Sep 3, 2025, at 10:08, Kristoffer Haugsbakk wrote:
> On Wed, Sep 3, 2025, at 08:11, jorg@ml1.net wrote:
>>
>> Given the circumstances, I vote for keeping "git whatchanged".
>
> You can see the discussion around the whatchanged deprecation as well as
> other things in this document:
>
> https://git-scm.com/docs/BreakingChanges.html

I fail to find the discussion around the whatchanged deprecation in that document. There is mention of the deprecation, but that's all.

(But I can certainly find discussion around it if I want to, no need to send more links.)

>> Given the circumstances,
>
> What circumstances?

The circumstances that other changes to command line parameters (which might mitigate the loss of "whatchanged") are not up for debate.

Regards,
J

```
