Git development
 help / color / mirror / Atom feed
From: "Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com>
To: "Justin Sherrill" <jsherril@redhat.com>, git@vger.kernel.org
Subject: Re: 'git whatchanged' is nominated for removal.
Date: Thu, 09 Oct 2025 22:59:02 +0200	[thread overview]
Message-ID: <dc5de1b6-db24-499a-bee3-3eb2208ae08b@app.fastmail.com> (raw)
In-Reply-To: <a6067200-a7cf-4632-85f0-8c6bcd00a5c1@redhat.com>

Good evening

On Thu, Oct 9, 2025, at 22:53, Justin Sherrill wrote:
> i recently got this message in my friendly git client:
>
> $ git wcp data/aws/insights-prod/account.yml
> 'git whatchanged' is nominated for removal.
> If you still use this command, please add an extra
> option, '--i-still-use-this', on the command line
> and let us know you still use it by sending an e-mail
> to <git@vger.kernel.org>.  Thanks.
> fatal: refusing to run without --i-still-use-this
>
> This is just me raising my hand as I still use this feature :)

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 replce it with `git log`:

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

  reply	other threads:[~2025-10-09 20:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-09 20:53 'git whatchanged' is nominated for removal Justin Sherrill
2025-10-09 20:59 ` Kristoffer Haugsbakk [this message]
2025-10-09 21:09   ` Justin Sherrill

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=dc5de1b6-db24-499a-bee3-3eb2208ae08b@app.fastmail.com \
    --to=kristofferhaugsbakk@fastmail.com \
    --cc=git@vger.kernel.org \
    --cc=jsherril@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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