Git development
 help / color / mirror / Atom feed
* Whatchanged —i-still-use-this
@ 2026-08-26  7:18 edvard.jo
  2026-08-26  7:46 ` Kristoffer Haugsbakk
  0 siblings, 1 reply; 3+ messages in thread
From: edvard.jo @ 2026-08-26  7:18 UTC (permalink / raw)
  To: git

Hi!

I was encouraged by git cli to send you an email when using the command ”whatchanged” that now needs ”—i-still-use-this”.

For my purposes, I could instead use 
git log —oneline —name-status 
Or
git diff —stat main 

Thanks for developing and maintaining git!

Best regards,
Edvard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Whatchanged —i-still-use-this
  2026-08-26  7:18 Whatchanged —i-still-use-this edvard.jo
@ 2026-08-26  7:46 ` Kristoffer Haugsbakk
       [not found]   ` <779B6ED0-EA2F-4CCE-9616-BFA958DEC560@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Kristoffer Haugsbakk @ 2026-08-26  7:46 UTC (permalink / raw)
  To: edvard.jo, git

Hi

On Wed, Aug 26, 2026, at 09:18, edvard.jo@gmail.com wrote:
> I was encouraged by git cli to send you an email when using the command
> ”whatchanged” that now needs ”—i-still-use-this”.

Are you running Git v2.51.0 or something? That older message (since
updated) does ask you to send an email with no ifs and buts:

     '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.

But the updated one has some alternatives:

    'git whatchanged' is nominated for removal.

    hint: You can replace 'git whatchanged <opts>' with:
    hint:   git log <opts> --raw --no-merges
    hint: Or make an alias:
    hint:   git config set --global alias.whatchanged 'log --raw --no-merges'

    If you still use this command, here's what you can do:

    - read https://git-scm.com/docs/BreakingChanges.html
    - check if anyone has discussed this on the mailing
      list and if they came up with something that can
      help you: https://lore.kernel.org/git/?q=git%20whatchanged
    - send an email to <git@vger.kernel.org> to let us
      know that you still use this command and were unable
      to determine a suitable replacement

    fatal: refusing to run without --i-still-use-this

>
> For my purposes, I could instead use
> git log —oneline —name-status
> Or
> git diff —stat main

Yeah, those are similar, and more “human friendly” than `--raw`. What do
you like about the command, the specific output or the command name
itself (muscle memory maybe)? If it’s the latter, you can make an alias
with more human friendly options than `--raw`:

    git config set --global alias.whatchanged 'log --stat --no-merges'

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Whatchanged —i-still-use-this
       [not found]   ` <779B6ED0-EA2F-4CCE-9616-BFA958DEC560@gmail.com>
@ 2026-08-27  6:08     ` Kristoffer Haugsbakk
  0 siblings, 0 replies; 3+ messages in thread
From: Kristoffer Haugsbakk @ 2026-08-27  6:08 UTC (permalink / raw)
  To: edvard.jo; +Cc: git

On Wed, Aug 26, 2026, at 14:12, edvard.jo@gmail.com wrote:
> Hi! 
>
> Answers inline:
>
>> 26 aug. 2026 kl. 09:47 skrev Kristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>:
>> 
>> Hi
>> 
>>> On Wed, Aug 26, 2026, at 09:18, edvard.jo@gmail.com wrote:
>>> I was encouraged by git cli to send you an email when using the command
>>> ”whatchanged” that now needs ”—i-still-use-this”.
>> 
>> Are you running Git v2.51.0 or something?
> Correct! I wasn’t aware since it was on a server I don’t maintain. I 
> checked version now and it was 2.51.0.
>
>> That older message (since
>> updated) does ask you to send an email with no ifs and buts:
>> 
>>     '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.
>> 
>> But the updated one has some alternatives:
>> 
>>    'git whatchanged' is nominated for removal.
>> 
>>    hint: You can replace 'git whatchanged <opts>' with:
>>    hint:   git log <opts> --raw --no-merges
>>    hint: Or make an alias:
>>    hint:   git config set --global alias.whatchanged 'log --raw --no-merges'
>> 
>>    If you still use this command, here's what you can do:
>> 
>>    - read https://git-scm.com/docs/BreakingChanges.html
>>    - check if anyone has discussed this on the mailing
>>      list and if they came up with something that can
>>      help you: https://lore.kernel.org/git/?q=git%20whatchanged
>>    - send an email to <git@vger.kernel.org> to let us
>>      know that you still use this command and were unable
>>      to determine a suitable replacement
>> 
>>    fatal: refusing to run without --i-still-use-this
>> 
>>> 
>>> For my purposes, I could instead use
>>> git log —oneline —name-status
>>> Or
>>> git diff —stat main
>> 
>> Yeah, those are similar, and more “human friendly” than `--raw`. What do
>> you like about the command, the specific output or the command name
>> itself (muscle memory maybe)? If it’s the latter, you can make an alias
>> with more human friendly options than `--raw`:
>> 
>>    git config set --global alias.whatchanged 'log --stat --no-merges'
> Yes I mainly use it because it’s easier to remember and can be 
> tab-completed very quickly. As long as I see file names I’m happy. So 
> yes, alias will work great for me! 

Good. Just remember to Reply All so that it goes to the Git list as well. Thanks

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-08-27  6:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-26  7:18 Whatchanged —i-still-use-this edvard.jo
2026-08-26  7:46 ` Kristoffer Haugsbakk
     [not found]   ` <779B6ED0-EA2F-4CCE-9616-BFA958DEC560@gmail.com>
2026-08-27  6:08     ` Kristoffer Haugsbakk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox