public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: "Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail•com>
To: "Jeffery Carr" <basilarchia@gmail•com>, git@vger•kernel.org
Subject: Re: git whatchanged -- yes, I still use this
Date: Sun, 05 Oct 2025 12:31:16 +0200	[thread overview]
Message-ID: <b3a8dd87-fdab-41cc-b221-b62aa7f74387@app.fastmail.com> (raw)
In-Reply-To: <CA+Hr9go-jyDeau8HVi+fUuiTTgAS_SNgyGL9x660+GzGJZJBEQ@mail.gmail.com>

On Sun, Oct 5, 2025, at 04:14, Jeffery Carr wrote:
> If you are going to remove it, "alias" it to something.

Git doesn’t have built-in aliases, if you mean Git aliases more
literally.  If not then it already acts as a sort of alias, I guess.

> alternatively, I guess I'll make "git-whatchanged" binary to do it.

This command is being removed because git-log(1) supplanted it over 12
years ago. Both commands use the same machinery, just with different
defaults.

Here’s how to replace it with git-log(1):

• 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).

> I'd also suggest, instead of the message:
>
>[snip]
> add to the message:
>
> <run this instead>

This is coming in the next versions.

      reply	other threads:[~2025-10-05 10:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-05  2:14 git whatchanged -- yes, I still use this Jeffery Carr
2025-10-05 10:31 ` Kristoffer Haugsbakk [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b3a8dd87-fdab-41cc-b221-b62aa7f74387@app.fastmail.com \
    --to=kristofferhaugsbakk@fastmail$(echo .)com \
    --cc=basilarchia@gmail$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox