public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: "Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail•com>
To: "Chris Palmer" <chris@chrispalmer•uk>, git@vger•kernel.org
Subject: Re: git whatchanged
Date: Tue, 26 Aug 2025 15:54:43 +0200	[thread overview]
Message-ID: <04d5ce4f-53aa-465a-aeb1-bef84532e424@app.fastmail.com> (raw)
In-Reply-To: <1011073f-9930-4360-a42f-71eb7421fe3f@chrispalmer.uk>

Hi

On Tue, Aug 26, 2025, at 15:04, Chris Palmer wrote:
> We still use whatchanged frequently. Sometimes to check the later
> commits, and sometimes as an easy way of searching for changes to a
> specific file.
>
> I'm not clear whether you are proposing removing the functionality
> altogether, or whether there is a new/better way to do it.

You can replace it with `git log`:

• Given: `git whatchanged <opts>`
• Replace with: `git log <opts> --no-merges --raw`

... with some minor output caveats about empty commits (commits with
no changes).[1]

🔗 1: https://lore.kernel.org/git/20250825085428.GA367101@coredump.intra.peff.net/

> I'm not clear whether you are proposing removing the functionality
> altogether,

Yes, the command is slated for removal in Git 3.0.  They have not decided when
that version will be released.

(although the functionality is still covered by git-log(1))

See this doc (from 2.51.0): https://github.com/git/git/tree/c44beea485f0f2feaf460e2ac87fdd5608d63cf0/Documentation/BreakingChanges.adoc

-- 
Kristoffer Haugsbakk

  reply	other threads:[~2025-08-26 13:55 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-26 13:04 git whatchanged Chris Palmer
2025-08-26 13:54 ` Kristoffer Haugsbakk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-11-07 11:40 Franz Brauße
2025-11-07 13:11 ` Kristoffer Haugsbakk
2025-11-07 14:16   ` Franz Brauße
2025-11-07 14:30     ` Kristoffer Haugsbakk
2025-10-31  8:02 Remke Schuurmans
2025-10-31  8:23 ` Kristoffer Haugsbakk
     [not found]   ` <c2551c49-bcb4-4518-97d3-063941d591e8@gmail.com>
2025-10-31  9:13     ` Kristoffer Haugsbakk
2025-10-16 12:16 Julian Squires
2025-10-16 13:27 ` Kristoffer Haugsbakk
2025-10-13 12:44 Grzegorz Koperwas
2025-10-13 13:47 ` Kristoffer Haugsbakk
2025-10-08 14:20 Git whatchanged Filippo Falezza
2025-10-08 14:42 ` Kristoffer Haugsbakk
2025-10-02  6:48 git whatchanged Jiří Bašek
2025-10-02  7:12 ` Kristoffer Haugsbakk
2025-09-26  1:00 Neal Miller
2025-09-26  7:13 ` Kristoffer Haugsbakk
2025-09-26 15:54   ` Junio C Hamano
2025-09-28  1:12   ` Neal Miller
2025-09-10 20:49 Jose Jaramillo
2025-09-10 21:03 ` Kristoffer Haugsbakk
2025-09-10 21:15   ` Jose Jaramillo
2025-09-04 23:45 Michael Tourigny (TERAWE CORPORATION)
2025-09-03 15:34 Jesse Hathaway
2025-09-03 19:56 ` Junio C Hamano
2025-09-03 20:43   ` Kristoffer Haugsbakk
2025-09-03 21:47     ` Junio C Hamano
2025-08-19 17:51 Chris Judkins-Fisher
2025-08-19 17:59 ` Chris Judkins-Fisher
2025-08-19 20:57 ` rsbecker
2025-08-20  7:52   ` Kristoffer Haugsbakk
2025-08-20 14:12     ` rsbecker
2025-08-20 16:49     ` Junio C Hamano
2025-08-20 17:05       ` Chris Judkins-Fisher
2025-08-20 20:58       ` Kristoffer Haugsbakk
2025-08-20 21:10         ` Junio C Hamano
2025-08-20 21:11           ` Kristoffer Haugsbakk

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=04d5ce4f-53aa-465a-aeb1-bef84532e424@app.fastmail.com \
    --to=kristofferhaugsbakk@fastmail$(echo .)com \
    --cc=chris@chrispalmer$(echo .)uk \
    --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