Re: git whatchanged
- From
- Kristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
- Date
- Oct 31, 2025, 08:23 UTC
- Message-ID
- <57ab19e2-9cc0-45bf-a3fe-c268c540a672@app.fastmail.com>
- In-Reply-To
- <CALnivwfp+WTN3VKY1LQ+04OX0nwPSfKx4zyZDsCDeXg8ubEPqg@mail.gmail.com>
On Fri, Oct 31, 2025, at 09:02, Remke Schuurmans wrote:
Show 8 quoted lines
> 'git whatchanged' is nominated for removal. > If you still use this command, please add an extra > option, '--i-still-use-this', on the command line > and let us know you still use it by sending an e-mail > to <git@vger.kernel.org>. Thanks. > fatal: refusing to run without --i-still-use-thi > > ;) I still use this one.
This command is being removed because it was supplanted by git-log(1) a long while ago. Both commands use the same machinery, just with different defaults.
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).