Re: I still use git whatchanged
On Sun, Dec 7, 2025, at 11:12, Lee Smith wrote:
> I use this regularly, despite learning git after git log was added.
The closest equivalent is `git log --raw --no-merges`.
> Remembering all the different options is hard so it's useful to have
> shortcuts.
The thing about this command is that the `--raw` output is pretty noisy for interactive use. Why not something “prettier” like `--stat` or `--name-only`?
Well, anyway. It’s not like any workflow or preference is wrong.
> If it's difficult to maintain I can understand why you might want to
> remove it but I recommend adjusting the message that is shown to
> suggest adding an alias instead.
Sure. You can use the command name as an alias on Git 2.51.2 and 2.52.0.
git config set --global alias.whatchanged 'log --raw --no-merges'