Re: git whatchanged
- From
- Kristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
- Date
- Oct 2, 2025, 07:12 UTC
- Message-ID
- <a1367c80-63ec-4dfc-b02b-cf506d82a202@app.fastmail.com>
- In-Reply-To
- <003601dc3368$9ac8f9b0$d05aed10$@aveco.com>
Good morning
On Thu, Oct 2, 2025, at 08:48, Jiří Bašek wrote:
> I am still using this very convenient command.
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.
Here’s how you can replace your git-whatcanged(1) use 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).
-- Stoffi