Re: I still use git whatchanged
- From
- Wayne Rowcliffe <wrowclif@gmail.com>
- Date
- Jan 5, 2026, 19:26 UTC
- Message-ID
- <CANG6c1V18xUEHbvTysykPT6A5LfV4wQSRQuEXi2XVDs+q_Cv7w@mail.gmail.com>
- In-Reply-To
- <1ee133df-2bb0-4aaa-b628-e7e2655d4332@app.fastmail.com>
`git log --raw` looks to do what I need. Thanks.
On Mon, Jan 5, 2026 at 1:23 PM Kristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com> wrote:
Show 19 quoted lines
> > On Mon, Jan 5, 2026, at 19:05, Wayne Rowcliffe wrote: > > I tried using git whatchanged, which I use probably daily, and it said > > I needed to send you an email that I use it. > > > > It's very handy for figuring out what files changed in a commit. > > 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 feding the output to another program).