# I still use git whatchanged

4 messages from 2025-10-13 to 2025-10-14. Participants: Samer Abdallah, Kristoffer Haugsbakk, Junio C Hamano.
Thread: https://gitlist.dev/t/64314

## Samer Abdallah, 2025-10-13 21:59

Subject: I still use git whatchanged
Message-ID: <EBCAE8A8-E556-4DE9-9B76-EA4C27EECA01@gmail.com>
URL: https://gitlist.dev/e/EBCAE8A8-E556-4DE9-9B76-EA4C27EECA01%40gmail.com

```
Hello,
I still use git whatchanged.
Thank you.
Samer 

```

## Kristoffer Haugsbakk, 2025-10-13 22:15

Subject: Re: I still use git whatchanged
Message-ID: <ae47adc7-7393-4994-9aae-e661c0e36b66@app.fastmail.com>
URL: https://gitlist.dev/e/ae47adc7-7393-4994-9aae-e661c0e36b66%40app.fastmail.com
In-Reply-To: <EBCAE8A8-E556-4DE9-9B76-EA4C27EECA01@gmail.com>

```
On Mon, Oct 13, 2025, at 23:59, Samer Abdallah wrote:
> I still use git whatchanged.

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

```

## Junio C Hamano, 2025-10-14 01:06

Subject: Re: I still use git whatchanged
Message-ID: <xmqqikgiz3z3.fsf@gitster.g>
URL: https://gitlist.dev/e/xmqqikgiz3z3.fsf%40gitster.g
In-Reply-To: <ae47adc7-7393-4994-9aae-e661c0e36b66@app.fastmail.com>

```
"Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com> writes:

> On Mon, Oct 13, 2025, at 23:59, Samer Abdallah wrote:
>> I still use git whatchanged.
>
> 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).

Thanks for fielding these repeated questions.

Let's do a maintenance release Git 2.51.1 very soon with your 
kh/you-still-use-whatchanged-fix topic, together with other minor
documentation changes and probably a hdnful of ci related fixes.

We haven't had non-security maintenance releases for quite a while,
so I may need to remember and practice the procedure to cut one ;-)



```

## Kristoffer Haugsbakk, 2025-10-14 07:10

Subject: Re: I still use git whatchanged
Message-ID: <53f724e7-1525-4a3e-a51f-6225361eee19@app.fastmail.com>
URL: https://gitlist.dev/e/53f724e7-1525-4a3e-a51f-6225361eee19%40app.fastmail.com
In-Reply-To: <25428D84-1B92-4398-93B2-175231A699B4@gmail.com>

```
On Tue, Oct 14, 2025, at 01:01, Samer Abdallah wrote:
> Hi Kristoffer,
>
> Thank you for your reply.
> I should have added that I use it to see the history of changes for the current
> file I’m editing, using the `-p` option and a file name argument, (and binding
> it to the command `:Ghist` in vim.)
>
> However, the following seems to produce the same output, as you suggested
>
> 	git log -p --no-merges —raw <filename>

Good. That’s great.

```
