{"thread":{"id":"64120","subject":"Using command nominated for removal: whatchanged","startedAt":"2025-09-10T13:38:46Z","lastAt":"2025-09-10T20:08:54Z","messageCount":3,"participants":["Chirayu Desai","Kristoffer Haugsbakk","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"526028","messageId":"b32a369f-87c9-41f6-b1cb-81273945dc17@app.fastmail.com","threadId":"64120","inReplyTo":null,"subject":"Using command nominated for removal: whatchanged","fromName":"Chirayu Desai","fromEmail":"git@cdesai.in","sentAt":"2025-09-10T13:38:24Z","receivedAt":"2025-09-10T13:38:46Z","isPatch":false,"sender":{"key":"git@cdesai.in","avatar":null},"body":"Hello,\n\nHope this email finds you well!\n\n'git whatchanged' is nominated for removal.\n\nI 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.\n\nI 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.\n\nThanks!\n"},{"id":"526029","messageId":"0908c4a2-f934-4f13-a25b-696803260ab3@app.fastmail.com","threadId":"64120","inReplyTo":"b32a369f-87c9-41f6-b1cb-81273945dc17@app.fastmail.com","subject":"Re: Using command nominated for removal: whatchanged","fromName":"Kristoffer Haugsbakk","fromEmail":"kristofferhaugsbakk@fastmail.com","sentAt":"2025-09-10T13:53:37Z","receivedAt":"2025-09-10T13:53:58Z","isPatch":false,"sender":{"key":"kristofferhaugsbakk@fastmail.com","avatar":null},"body":"Hi Chirayu\n\nHi\n\nOn Wed, Sep 10, 2025, at 15:38, Chirayu Desai wrote:\n> Hello,\n>\n> Hope this email finds you well!\n>\n> 'git whatchanged' is nominated for removal.\n>\n> I still use this command. I usually run 'git whatchanged -1' and 'git\n> whatchanged <commit>' to quickly see what files have changed in a\n> particular commit.\n\nYou can replace it with `git log`:\n\n• Given: `git whatchanged <opts>`\n• Replace with: `git log <opts> --no-merges --raw`\n\n... with some minor output caveats about empty commits (commits with\nno changes).[1]\n\n🔗 1: https://lore.kernel.org/git/20250825085428.GA367101@coredump.intra.peff.net/\n\n> ... I usually run 'git whatchanged -1'\n\n`git show --raw` should give a similar output.  Although `git show`\n(with diff) or `git show --stat` are nicer in my opinion.\n\n> I guess there might be some alias I could setup to achieve the same -\n> it's more that this command has become a muscle memory at this point so\n> I kept hitting the removal message, and here I am.\n\nYou can set up an alias, although not the exact alias `whatchanged` since\ncore commands cannot be aliased (or shadowed I guess).\n\nAn alias like `watchanged` would work.\n\n-- \nKristoffer Haugsbakk\n"},{"id":"526078","messageId":"xmqq8qimrrxo.fsf@gitster.g","threadId":"64120","inReplyTo":"b32a369f-87c9-41f6-b1cb-81273945dc17@app.fastmail.com","subject":"Re: Using command nominated for removal: whatchanged","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2025-09-10T20:08:51Z","receivedAt":"2025-09-10T20:08:54Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"Chirayu Desai\" <git@cdesai.in> writes:\n\n> Hello,\n>\n> Hope this email finds you well!\n>\n> 'git whatchanged' is nominated for removal.\n>\n> 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.\n>\n> 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.\n\nThanks for letting us know.  If you still use it, you can retrain\nyour fingers to use \"git log\" with some options instead.  The most\nliteral translation would be \"git log --raw --no-merges\", but there\nare MUCH BETTER options invented since \"whatchanged\" was written.\n\nIf the reason you are interested in is to learn the names of the\nfiles, then \"git log --names-only\" gives a lot cleaner output\nwithout hexadecimal gibberish that has not much use for human\nreaders, for examplle.\n"}]}