Re: Subject: Git console output told me to email you about "git whatchanged" so I am.
- From
- Kristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
- Date
- Oct 8, 2025, 19:31 UTC
- Message-ID
- <725e8ab3-415b-4345-8a6a-57f7ae5474e7@app.fastmail.com>
- In-Reply-To
- <CAEVYKFcj8kGRAxawwCLLTNiewNUMuFQnZt3-sGPG=kA-AY-6nQ@mail.gmail.com>
On Wed, Oct 8, 2025, at 21:28, Nick Giampietro wrote:
> I use git whatchanged regularly, please do not remove it.
This command is being removed because git-log(1) supplanted it over 12 years ago. Both commands use the same machinery, just with different defaults.
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 (not feeding the output to another program).