Re: [PATCH 1/4] usage: help the user help themselves
- From
Jeff King <peff@peff.net>
- Date
- Sep 3, 2025, 21:44 UTC
- Message-ID
- <20250903214415.GA1915988@coredump.intra.peff.net>
- In-Reply-To
- <CAPig+cQdwr-a_B++=2+q4mV8oZ7VLTYEQ9wnVP84jFYkTHFtHw@mail.gmail.com>
On Wed, Sep 03, 2025 at 05:21:47PM -0400, Eric Sunshine wrote:
Show 11 quoted lines
> > I've seen "troubleshooting" questions from git users > > who got one of those long and well-described Hints > > like e.g. detached head and default git init branch > > when either the msg already spelled eveything out > > or the msg was purely informational. > > I didn't spell it out above, but what I had in mind was something very > simple... not at all ong and detailed; for instance: > > For interactive use, define a Git alias `git whatchanged` > which runs `git log --raw --no-merges`.
I think that is good advice, but... it won't do anything until we actually drop the whatchanged command, since until then we'll refuse to override the command (even the crippled --i-still-use-this one).
We'd need something like the patch here:
https://lore.kernel.org/git/20250830022718.GB567900@coredump.intra.peff.net/
-Peff