public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* I still use whatchanged
@ 2025-11-13 21:03 Eduard Bloch
  2025-11-14  7:31 ` Kristoffer Haugsbakk
  0 siblings, 1 reply; 2+ messages in thread
From: Eduard Bloch @ 2025-11-13 21:03 UTC (permalink / raw)
  To: git

Yes, guys,

that may sound totally ridiculous but I want my normal "git whatchanged"
command back.

Because calling it means typing "git wh<tab>". Just 6 keystrokes!

And what is the replacement call? Jeez, this dumb message about
"--i-still-use-this" should have mentioned that detail! Now I had to
google it which was not great UX in the first place.

Okay, the replacement is apparently "git log --ra<tab>", at least 12
keystrokes. That is a clear downgrade. So, please bring "whatchanged"
shortcut back. You may print scary warnings about eating my dogs for
breakfast or similar, I don't care.

BR, Eduard.

-- 
Every great idea is worthless without someone to do the work. --Neil Williams

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

* Re: I still use whatchanged
  2025-11-13 21:03 I still use whatchanged Eduard Bloch
@ 2025-11-14  7:31 ` Kristoffer Haugsbakk
  0 siblings, 0 replies; 2+ messages in thread
From: Kristoffer Haugsbakk @ 2025-11-14  7:31 UTC (permalink / raw)
  To: Eduard Bloch, git

On Thu, Nov 13, 2025, at 22:03, Eduard Bloch wrote:
> Yes, guys,
>
> that may sound totally ridiculous but I want my normal "git whatchanged"
> command back.
>
> Because calling it means typing "git wh<tab>". Just 6 keystrokes!

Since you specifically want the user experience of typing `git
whatchanged` or a prefix:

You can set up an alias with that name on Git 2.51.1 and 2.51.2.  (And
later Git 2.52.0 (soon released).)

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

You cannot do that on Git 2.51.0 since you cannot alias builtin
commands.  But you can alias deprecated builtin commands on
those versions.

>
> And what is the replacement call? Jeez, this dumb message about
> "--i-still-use-this" should have mentioned that detail! Now I had to
> google it which was not great UX in the first place.
>
> Okay, the replacement is apparently "git log --ra<tab>", at least 12
> keystrokes.

The closest equivalent is `git log --raw --no-merges` (see above).

> That is a clear downgrade. So, please bring "whatchanged"
> shortcut back. You may print scary warnings about eating my dogs for
> breakfast or similar, I don't care.

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

end of thread, other threads:[~2025-11-14  7:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-13 21:03 I still use whatchanged Eduard Bloch
2025-11-14  7:31 ` Kristoffer Haugsbakk

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