Thread (1 message) 1 message, 1 author, 2025-09-10

Re: Using command nominated for removal: whatchanged

From: Junio C Hamano <hidden>
Date: 2025-09-10 20:08:54

"Chirayu Desai" [off-list ref] writes:
Hello,

Hope this email finds you well!

'git whatchanged' is nominated for removal.

I still use this command. I usually run 'git whatchanged -1' and 'git whatchanged <commit>' to quickly see what files have changed in a particular commit.

I guess there might be some alias I could setup to achieve the same - it's more that this command has become a muscle memory at this point so I kept hitting the removal message, and here I am.
Thanks for letting us know.  If you still use it, you can retrain
your fingers to use "git log" with some options instead.  The most
literal translation would be "git log --raw --no-merges", but there
are MUCH BETTER options invented since "whatchanged" was written.

If the reason you are interested in is to learn the names of the
files, then "git log --names-only" gives a lot cleaner output
without hexadecimal gibberish that has not much use for human
readers, for examplle.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help