threads / discuss / 64211

git whatchanged

Subject: git whatchanged

## tl;dr

4 messages between Sep 26, 2025 and Sep 28, 2025.

replies: 3people: 3as markdown or json

Kristoffer Haugsbakk· Sep 26, 2025, 07:13 UTC · re: Neal Miller · lore

Re: git whatchanged

Good morning
On Fri, Sep 26, 2025, at 03:00, Neal Miller wrote:
> --i-still-use-this
You can replace it with `git log`:

• 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 26, 2025, 15:54 UTC · re: Kristoffer Haugsbakk · lore

Re: git whatchanged

"Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com> writes:
Show 13 quoted lines
> Good morning
>
> On Fri, Sep 26, 2025, at 03:00, Neal Miller wrote:
>> --i-still-use-this
>
> You can replace it with `git log`:
>
> • 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.

Additionally, "--no-merges" may not be of value that exceeds the cost of typing that many characters.

Neal Miller· Sep 28, 2025, 01:12 UTC · re: Kristoffer Haugsbakk · lore

Re: git whatchanged

Thank you, I found that 'git log -p --abbrev-commit --pretty=medium' gives the identical output as the the 'git whatchanged -p --abbrev- commit --pretty=medium' command that my alias, 'gwch' was set to use in oh-my-zsh. I'll just set my alias to that now instead. On Fri, 2025-09-26 at 09:13 +0200, Kristoffer Haugsbakk wrote:

Show 18 quoted lines
> 
> > Good morning
> > On Fri, Sep 26, 2025, at 03:00, Neal Miller wrote:
> 
> 
> 
> > 
> > 
> > > 
> > > 
> > > > --i-still-use-this
> > > 
> > 
> 
> 
> 
> > You can replace it with `git log`:
> > • 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.

>

← back to recent threads